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

Component: BlinkM

Implementation for Blink application. Toggle the red LED when a Timer fires.

Required Interfaces

Provided Interfaces

Function Index

Function Descriptions

StdControl.init

command result_t StdControl.init (void)

Initialize the component.
Returns: Always returns SUCCESS

StdControl.start

command result_t StdControl.start (void)

Start things up. This just sets the rate for the clock component.
Returns: Always returns SUCCESS

StdControl.stop

command result_t StdControl.stop (void)

Halt execution of the application. This just disables the clock component.
Returns: Always returns SUCCESS

Timer.fired

event result_t Timer.fired (void)

Toggle the red LED in response to the Timer.fired event.
Returns: Always returns SUCCESS