On the Micas I think the ADC channels are queued so you could issue
requests to more than one at a time and have it work. But I wouldn't
trust it anyway...a more robust approach would be to fire the next
getData() request from the dataReady() of the first, which will force
them to work sequentially.

MS

Tiago Camilo wrote:
Hey list,

I am writing a tinyOS program where I usually check some sensors readings. I am using boomerang with a tmote from moteiv. I have two timers, each one responsible to call a sensor reading:
-call ADCTemperature.getData() and call ADCTemperature.getData(),
if the timers occur at the same the -async event result_t ADCHumidity.dataReady(uint16_t data) event is called but the event: -async event result_t ADCTemperature.dataReady(uint16_t data) is never called. Is this a normal procedure? How can I workaround such behavior, is it possible? Or the only solution is not set the timer at the same time?
Thanks in advance.

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to