search back a day or two for stuff on interrupt handling.
someone recently posted some code advice.
MS

Vincent Rossi wrote:
> Hi,
> I am looking for a way to detect a change of the state of a UserButton 
> (a way to be notified when a specific button (on an I/O port) is 
> pressed/released) without needing to poll its state but in an 
> event-driven way (event fired when the button is pressed/released).
> Besides the interfaces I should use, if you could give me a full 
> example, it would be nice.
> Thanks,
> Vincent
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

-- 
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew

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

Reply via email to