Datumsstempel Auslösung zugefügt

This commit is contained in:
sven 2023-06-04 11:14:24 +02:00
parent 18e2d9ceaf
commit 4144f13a1e

View file

@ -105,6 +105,7 @@ pinMode(SCK, INPUT);
pinMode(MOSI, INPUT); pinMode(MOSI, INPUT);
pinMode(MISO, INPUT); pinMode(MISO, INPUT);
pinMode(12, OUTPUT); pinMode(12, OUTPUT);
pinMode(6, OUTPUT);
pinMode(11, INPUT); pinMode(11, INPUT);
pinMode(7, INPUT); pinMode(7, INPUT);
@ -185,6 +186,9 @@ void loop() {
if (run == 0 && digitalRead(11) == HIGH){ if (run == 0 && digitalRead(11) == HIGH){
delay(100); delay(100);
finish = 1; finish = 1;
digitalWrite(6, HIGH); //löse Datumsstempel aus
delay(100);
digitalWrite(6, LOW); //löse Datumsstempel aus
gapDetected = 0; gapDetected = 0;
} }