[Tinyos-help] how to read analogue input on telosb (T-Mote Sky)?
Akos Maroy
darkeye at tyrell.hu
Wed Aug 1 00:17:40 PDT 2007
Jan,
> If the Read interfaces are not "good enough", take a look at
> tinyos-2.x/tos/chips/msp430/adc12/Msp430Adc12Client*.nc. These
> components export the msp430 specific functionality. If you use them
> your code will not be so portable anymore, but you can do things like
> high-frequency sampling of multiple ADC channels via DMA. Start with:
> tinyos-2.x/tos/chips/msp430/adc12/README.txt.
I looked at the document - and it contains a partial sample code. Still,
is there a complete application sample somewhere that configures and reads
from and ADC on telosb, and does something with it? Like TestAdc, just for
real? By that I mean that it really configures the ADC, specifies which
channel it will use, and then really uses it?
BTW, TestAdc is very misleading, as it simply references DemoSensor, thus
all ADC related functionality is hidden from the sample code.
A full sample app would really be appreciated.
Akos
More information about the Tinyos-help
mailing list