Browse Source

add todo for reading button

master
Constantin Fürst 2 years ago
parent
commit
04310cfa40
  1. 12
      zisterne.ino

12
zisterne.ino

@ -213,7 +213,9 @@ void Measurement() {
*/ */
void setup() { void setup() {
printDebugMsg("")
// Display initialisieren
lcdDisplay.init();
initDisplay();
// Richtung Motor A // Richtung Motor A
pinMode(DA, OUTPUT); pinMode(DA, OUTPUT);
@ -243,11 +245,7 @@ void setup() {
while(1); while(1);
} }
// Display initialisieren
lcdDisplay.init();
initDisplay();
printDebugMsg("Info: ", "Geladen");
printDebugMsg("Info: ", "System OK");
delay(1000); delay(1000);
disableDisplay(); disableDisplay();
} }
@ -256,6 +254,8 @@ void loop() {
handleSerialInput(); handleSerialInput();
setAtmosphericPressure(); setAtmosphericPressure();
// TODO: read button and start measurement
// ensure valve is open and pump turned off // ensure valve is open and pump turned off
digitalWrite(VENTIL, AUF); digitalWrite(VENTIL, AUF);
digitalWrite(PUMPE, AUS); digitalWrite(PUMPE, AUS);

Loading…
Cancel
Save