Contiki 2.5
Function quick reference

Sensor functions

Each sensor has a set of functions for controlling it and query it for its state. Some sensors also generate an events when the sensors change. A sensor must be activated before it generates events or relevant values.

Example for querying the button:

Sensor on the ESB platform

LED functions

Beeper functions

Timer functions

Contiki provides a set of timer libraries. Event timers generates an event when the timer expires and callback timers call a function when the timer expires. The simple timers on the other hand have to be actively queried to check when they have expired.

Event timers

Callback timers

Simple timers