Datumsstempel Auslösung zugefügt
This commit is contained in:
parent
18e2d9ceaf
commit
4144f13a1e
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue