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

Component: SenseLightToLog

The SenseLightToLog app is used in Lesson 8 of the TinyOS tutorial and it implements the Sensing and StdControl interface. When a command to start sensing is received, it periodically samples the light sensor for N samples and also store it in the EEPROM. Once N samples have been collected, the timer is turned off and the sense done event is signalled.
Author: tinyos-help@millennium.berkeley.edu
  David Culler
  Su Ping
  Intel Research Berkeley Lab

Provided Interfaces

Component Graph   (text version,   help)


Main SenseLightToLogM StdControl StdControl StdControl LedsC Leds Leds Leds TimerC Timer Timer Timer Logger LoggerWrite LoggerWrite LoggerWrite StdControl StdControl StdControl Photo StdControl StdControl StdControl ADC ADC ADC GenericComm StdControl StdControl StdControl SenseLightToLog Sensing Sensing Sensing