From c35542703af7dc50241da217ce00f15e787ab979 Mon Sep 17 00:00:00 2001 From: Alexander Kauerz Date: Wed, 15 Feb 2012 22:32:42 +0100 Subject: =?UTF-8?q?Prototypen=20hinzugef=C3=BCgt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Drehimpulsgeber/drehimp.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Drehimpulsgeber/drehimp.cpp b/Drehimpulsgeber/drehimp.cpp index bcd38b8..bd81bca 100644 --- a/Drehimpulsgeber/drehimp.cpp +++ b/Drehimpulsgeber/drehimp.cpp @@ -14,6 +14,10 @@ */ // usually the rotary encoders three pins have the ground pin in the middle + +void doEncoderA(); +void doEncoderB(); + enum PinAssignments { encoderPinA = 2, // rigth encoderPinB = 3, // left @@ -28,7 +32,6 @@ static boolean rotating=false; // debounce management boolean A_set = false; boolean B_set = false; - void setup() { pinMode(encoderPinA, INPUT); -- cgit v1.2.3