// MicroBoard program // Demonstrate the accuracy of the delay() function // All the LEDs should be turned on/off whenever a minute time lapse is reached. // Take notice of other statements which also consume CPU time. main() { int i; writes("time bar", 0); // i = getkey(); // press a key to start loop for(i=0; i < 20; i++) { // this also costs CPU time delay(3000); // delay 3 seconds toggle(i); // this costs CPU time } }