aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiesson <arne.wiese@gmail.com>2012-07-24 21:26:41 +0200
committerwiesson <arne.wiese@gmail.com>2012-07-24 21:26:41 +0200
commit2f2b4a09ccd5efc2af2fe1d192f27dec48a83d24 (patch)
tree1c6088e10cf57d1b62f24f816b9249a4bbf3ef1e
parent902b0315449bf6837cbe1d8d9c336d0ad24f9080 (diff)
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.
-rw-r--r--Arduino/Examples/example.ino4
1 files changed, 3 insertions, 1 deletions
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