summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kauerz <kauerz@informatik.uni-luebeck.de>2012-02-15 22:32:42 +0100
committerAlexander Kauerz <kauerz@informatik.uni-luebeck.de>2012-02-15 22:32:42 +0100
commitc35542703af7dc50241da217ce00f15e787ab979 (patch)
tree3044e172ba07fa18b0cb379f7f556d56ce6aa924
parent1f1b56dd6b8e71c5a8d2f9e360092e8167ec6416 (diff)
downloadledmatrix-c35542703af7dc50241da217ce00f15e787ab979.tar
ledmatrix-c35542703af7dc50241da217ce00f15e787ab979.zip
Prototypen hinzugefĆ¼gt.
-rw-r--r--Drehimpulsgeber/drehimp.cpp5
1 files changed, 4 insertions, 1 deletions
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);