mirror of
https://github.com/timmbogner/Farm-Data-Relay-System
synced 2024-11-08 13:10:29 +00:00
Update Irrigation.ino
This commit is contained in:
parent
4c411a053e
commit
65015b4bc2
@ -118,7 +118,7 @@ void checkCoils() { // Sends back a status report for each coil pin.
|
||||
}
|
||||
}
|
||||
|
||||
void updateCoils() {
|
||||
void updateCoils() { //These are set up for relay module which are active-LOW. Swap 'HIGH'and 'LOW' in this function to use the inverse.
|
||||
if (status_1) {
|
||||
digitalWrite(COIL_1, LOW);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user