added water level sensor
This commit is contained in:
parent
0c760305df
commit
58e42a814d
1 changed files with 2 additions and 1 deletions
|
@ -203,7 +203,7 @@ void loop() {
|
||||||
display.print(dht.readTemperature());
|
display.print(dht.readTemperature());
|
||||||
display.print(", ");
|
display.print(", ");
|
||||||
display.print(dht.readHumidity());
|
display.print(dht.readHumidity());
|
||||||
display.println(readI2CRegister16bit(0x20, 0));
|
//display.println(readI2CRegister16bit(0x20, 0));
|
||||||
display.display();
|
display.display();
|
||||||
|
|
||||||
|
|
||||||
|
@ -215,5 +215,6 @@ void loop() {
|
||||||
digitalWrite(PINwater, LOW);
|
digitalWrite(PINwater, LOW);
|
||||||
|
|
||||||
display.display();
|
display.display();
|
||||||
|
delay(800);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue