From 4144f13a1e7017d2ddda389684f16825d28f8bd4 Mon Sep 17 00:00:00 2001 From: sven Date: Sun, 4 Jun 2023 11:14:24 +0200 Subject: [PATCH] =?UTF-8?q?Datumsstempel=20Ausl=C3=B6sung=20zugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Arduino/etima/etima.ino | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Arduino/etima/etima.ino b/Arduino/etima/etima.ino index 400515f..e579f95 100644 --- a/Arduino/etima/etima.ino +++ b/Arduino/etima/etima.ino @@ -105,6 +105,7 @@ pinMode(SCK, INPUT); pinMode(MOSI, INPUT); pinMode(MISO, INPUT); pinMode(12, OUTPUT); +pinMode(6, OUTPUT); pinMode(11, INPUT); pinMode(7, INPUT); @@ -185,6 +186,9 @@ void loop() { if (run == 0 && digitalRead(11) == HIGH){ delay(100); finish = 1; + digitalWrite(6, HIGH); //löse Datumsstempel aus + delay(100); + digitalWrite(6, LOW); //löse Datumsstempel aus gapDetected = 0; }