Skip to content

Commit

Permalink
Update main.C
Browse files Browse the repository at this point in the history
Add LCD
  • Loading branch information
FrancoisGallard committed Mar 12, 2016
1 parent 354c62b commit 2e8f919
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.C
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ if(pumpOn){
//Col 0 line 1
lcd.setCursor(0, 1);
// print the number of seconds since reset:
lcd.print("PUMP is ON");
lcd.print("PUMP is ON ");

}else{
//Col 0 line 1
lcd.setCursor(0, 1);
/*Deactivate relay*/
lcd.print("PUMP is OFF");
Serial.println("PUMP is OFF");
lcd.print("PUMP is OFF ");
Serial.println("PUMP is OFF ");
digitalWrite(RELAY_PIN1,1);
}

Expand Down

0 comments on commit 2e8f919

Please sign in to comment.