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