Component: SenseM
Implementation for Sense application. (Lesson 2 in the tutorial)
When clock fires, this application
reads the sensor and displays the higher 3 bits of the ADC readings to LEDs.
Author:
| David Culler
|
|
Su Ping
|
|
Intel Research Berkeley Lab
|
-
result_t
display
(uint16_t value)
-
command result_t
StdControl.init
(void)
-
command result_t
StdControl.start
(void)
-
command result_t
StdControl.stop
(void)
-
event result_t
Timer.fired
(void)
-
async event result_t
ADC.dataReady
(uint16_t data)
display
result_t display(uint16_t value)
StdControl.init
command result_t StdControl.init
(void)
StdControl.start
command result_t StdControl.start
(void)
StdControl.stop
command result_t StdControl.stop
(void)
Timer.fired
event result_t Timer.fired
(void)
ADC.dataReady
async event result_t ADC.dataReady
(uint16_t data)