Update Irrigation.ino

Co-Authored-By: Kisssys <5122480+Kisssys@users.noreply.github.com>
This commit is contained in:
Timm Bogner 2022-09-06 23:21:28 -05:00
parent 01322698f7
commit 236afd04e9

View File

@ -2,7 +2,7 @@
//
// Irrigation Controller
//
// Developed by Timm Bogner (bogner1@gmail.com) for Sola Gratia Farm in Urbana, Illinois, USA.
// Developed by Timm Bogner (bogner1@gmail.com) in Urbana, Illinois, USA.
//
//
#include "fdrs_sensor_config.h"
@ -29,22 +29,18 @@ void fdrs_recv_cb(DataReading theData) {
switch (theData.id) {
case CONTROL_1:
status_1 = (int)theData.d;
Serial.println("D:" + String(theData.d));
newData = true;
break;
case CONTROL_2:
status_2 = (int)theData.d;
Serial.println("D:" + String(theData.d));
newData = true;
break;
case CONTROL_3:
status_3 = (int)theData.d;
Serial.println("D:" + String(theData.d));
newData = true;
break;
case CONTROL_4:
status_4 = (int)theData.d;
Serial.println("D:" + String(theData.d));
newData = true;
break;
}