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

Component: SenseToLeds

When the clock fires, this application reads the light sensor and displays the higher 3 bits of the ADC readings to LEDs. This application behaves the same as Sense in Lesson 2; however, it is built simply by wiring MAIN, ClockC, Photo, IntToLeds and SenseToInt components together.

Component Graph   (text version,   help)


Main IntToLeds StdControl StdControl StdControl SenseToInt StdControl StdControl StdControl IntOutput IntOutput IntOutput TimerC Timer Timer Timer StdControl StdControl StdControl Photo ADC ADC ADC StdControl StdControl StdControl