From 2f2b4a09ccd5efc2af2fe1d192f27dec48a83d24 Mon Sep 17 00:00:00 2001 From: wiesson Date: Tue, 24 Jul 2012 21:26:41 +0200 Subject: 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. --- Arduino/Examples/example.ino | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Arduino/Examples/example.ino b/Arduino/Examples/example.ino index f5e3b80..b595200 100644 --- a/Arduino/Examples/example.ino +++ b/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() { +} \ No newline at end of file -- cgit v1.2.3