Most of the example apps use a DemoSensor component as the data source. Each platform has a different implementation, depending on the native sensors available. You can just replace DemoSensor with an appropriate ADC in the config file. Dig through the code to find the DemoSensor implementation that your system is using, or search for other uses of ADC, to see a usage example
MS David Conde wrote: > Hi, > > > > I have been Reading about ADC component and Oscilloscope application and > I would like to know how I can change the sensor to get data from, I > mean, I am working with TelosB, and it has three sensor to get data from > them. I would like to change the configuration on Oscilloscope to get > data from Humidity sensor instead of light sensor and to know how could > I include a new digital sensor as a PIR sensor using TelosB mote? > > > > Thanks in advance > > > ------------------------------------------------------------------------ > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
