Forráskód Böngészése

Updated IDLE example with Teensy results

Anatoli Arkhipenko 8 éve
szülő
commit
c5a6fe0eed

+ 18 - 7
examples/Scheduler_example06_IDLE/Scheduler_example06_IDLE.ino

@@ -11,18 +11,29 @@ Task t(10000, 1, NULL, &ts, true, &tOn, &tOff);
 The result are:
 The result are:
 
 
 1): With #define _TASK_SLEEP_ON_IDLE_RUN enabled
 1): With #define _TASK_SLEEP_ON_IDLE_RUN enabled
-Start
-c1=10771 - v2.5.0 (v1.9.0: same)
-c2=1001
+On Arduino Uno:
+  Start
+  c1=10771 - v2.5.0 (v1.9.0: same)
+  c2=1001
 
 
+On Teensy 3.5 (120MHz ARM):
+  Start
+  c1=21065
+  c2=1001
 
 
 and
 and
 
 
 2): With #define _TASK_SLEEP_ON_IDLE_RUN disabled (commented out)
 2): With #define _TASK_SLEEP_ON_IDLE_RUN disabled (commented out)
-Start
-c1=635735 - v2.5.0  (v1.9.0: 551947)
-c2=1001
-
+Arduino Uno:
+  Start
+  c1=635735 - v2.5.0  (v1.9.0: 551947)
+  c2=1001
+
+On Teensy 3.5 (120MHz ARM):
+  Start
+  c1=2690322
+  c2=1001
+  
 C1 is scenario 2) is much higher than in scenario 1) because processor is put to sleep for 1), but not for 2)
 C1 is scenario 2) is much higher than in scenario 1) because processor is put to sleep for 1), but not for 2)
 
 
  */
  */