Hi all:
I am studying tinyOS2.x now,. I an using mica2(atm128) and sht11 to abtain
temperature and humidity information.
On this webside,
http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2010-March/045214.html
I found the similar problem. But I could not find help.
When I debug the program, I find the follow subfunction always return 'FAIL'.
error_t waitForResponse() {
call DATA.makeInput();
call DATA.set();
call CLOCK.set();
if (call DATA.get()) {
// the device didn't pull the DATA line low
// the command wasn't received or acknowledged
return FAIL;
}
call CLOCK.clr();
return SUCCESS;
}
Can someone give me some help? Or send me some related tinyos files, such as
SensirionSht11LogicP.nc.
Thanks in advance.
Best wishes!
Joshua_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help