Skip to content
Browse files

fixed example issue

i was not able to compile with the arduino (1.01) app. I've added void
loop () {} and changed run to Run. Now it works fine for me.
  • Loading branch information...
1 parent 902b031 commit 2f2b4a09ccd5efc2af2fe1d192f27dec48a83d24 @wiesson wiesson committed Jul 24, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 Arduino/Examples/example.ino
View
4 Arduino/Examples/example.ino
@@ -9,7 +9,7 @@ void setup() {
myQueue.scheduleFunction(testFunction, "Test", 5000, 1000);
while(1) {
- myQueue.run(millis());
+ myQueue.Run(millis());
delay(10);
}
}
@@ -20,3 +20,5 @@ int testFunction(unsigned long now)
Serial.println(now);
}
+void loop() {
+}

0 comments on commit 2f2b4a0

Please sign in to comment.
Something went wrong with that request. Please try again.