Can you try this (create a new app):
- instantiate Msp430Adc12ClientAutoRVGC() and wire you application module to it
- in your app module where you provide AdcConfigure, return a pointer
to the 1st channel configuration (with VREFplus_AVss) which you
defined as a const module variable
- in Boot.booted() you call Resource.request()
- in Resource.granted() you call Msp430Adc12MultiChannel.configure()
and then Msp430Adc12MultiChannel.getData()
- check all return values

If you still get strange values try to use internal ADC channels
instead of your external sensors, e.g. temperature/voltage. The
configurations are in   tinyos-2.x/tos/chips/msp430/sensors.

Jan

On 9/4/07, Nicolas Esteves <[EMAIL PROTECTED]> wrote:
> Hi Jan,
> Did you have the time to check my configuration in my last mail?
> I still haven't found a way to resolve the problem with my adc sampling..
>
> Thanks again
>
>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to