Lab Activity: Contiki TimerBlink¶
Since |
04.12 lab |
Till |
11.12 lab |
Points |
1 |
Write an app that turns on LEDs with various frequencies:
red LED: every 8 seconds,
green LED: every 4 seconds,
blue LED: every 2 seconds.
Each LED should be turned on for 1 second.
Put:
printf("Waiting...\n");
inside your while(1){ … } loop where the process waits for an event(s) to verify that it really waits.
Be inspired by ./platform/sky/apps/blink.c.