Hi,

I am trying to use either an external interrupt pin (INT0) or a GPIO pin (like PW4) as an input to interrupt the micaZ.

I see how to configure the pin as an input - my question is how to control the pin to look for a falling edge or rising edge signal, and then how to handle the actual interrupt. I have searched the tinyos database without finding what I am looking for... I see how to read the pin, but I don't want to poll it, I want it to interrupt the micaZ when the signal transition takes place.

        I am using tinyos 1.x.

        Any help would be appreciated.

Thanks in advance,

Todd

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

Reply via email to