Hi Lei, I don't know if it is related to your problem, but sometimes I also notice a strange behaviour from the LEDs. Say I have a sensor sampling at a given rate, like you do, and I make the LED blink each time a packet is sent. Sometimes (typically when I query the sensor or remotely change some settings), the LED stops blinking, though I still receive the packets at the basestation. It may well be a problem in my code, but I didn't find anything suspect.
I'm sorry it doesn't help you, I just wanted to report the problem since it may be related. I would appreciate as well any clue or explanation. Cheers, Romain On 5/21/07, Lei Tang <[EMAIL PROTECTED]> wrote:
Hello, all, I'm working on a simple program on mica2dot to achieve a function of sampling with a given rate, saying 2 Hz, and then transmitting the result immediately. I used a timer to trigger the sampling, as what is done in XSensorMDA500. With the help of the LED, I found the timer was not always fired in time; sometimes the LED was stuck for a few seconds, and then had a quick flash. It seems more likely to happen if the sampling rate is higher. I tried XSensorMDA500, and it was the same. Anybody has an idea how it comes and how to solve this problem? Thank you very much. Best, Lei _______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help