[Tinyos-help] Consecutive ADC readings with TempC and VoltageC

Michael Schippling schip at santafe.edu
Fri Apr 2 13:00:58 PDT 2010


Whoa...cool...
now to get it to work...

On the subject, in T2, do the higher-level components
like Temp and Voltage return massaged data (actual TEMP,
VOLTS, etc) or some mashup as in T1?
MS


Philip Levis wrote:
> On Apr 2, 2010, at 10:36 AM, Michael Schippling wrote:
> 
>> You probably need to make the ADC calls sequentially by calling one
>> from the done of the other. I'm not sure that the lowlevel code is
>> smart enough to queue the requests and there is only one actual
>> ADC, which has a number of input channels that can be selected.
> 
> No, in 2.x it's smart enough to do this -- that's what he meant by
> the "ADC resource not being shared properly." David Gay was the
> original implementer of this code -- I'll ping him to see what's
> going on.
> 
> Phil


More information about the Tinyos-help mailing list