Apps     Components     Interfaces     All Files     Source Tree     source: apps.BlinkTask.BlinkTask.nc

Component: BlinkTask

BlinkTask is a basic application that toggles the leds on the mote one every timer firing. The difference between Blink and BlinkTask is how the Timer.fired() event is handled. BlinkTask offloads processing to a task which controls the LEDs. Blink controls the LEDs directly in the event handler, not returning from the event until the LEDs have been toggled. The timer fires at 1Hz. The initialization of the Timer can be seen in the Blink initialization function, StdControl.start(). See also: apps/Blink
Author: tinyos-help@millennium.berkeley.edu
  SU Ping <sping@intel-research.net>
  Intel Research Berkeley Lab

Component Graph   (text version,   help)


Main SingleTimer StdControl StdControl StdControl BlinkTaskM StdControl StdControl StdControl Timer Timer Timer LedsC Leds Leds Leds