Look back a day or two on this list. I posted some stuff about T1 interrupts
and making the code to handle them. To figure out how to configure the pin
you need a hermeneutics degree and the ATMEGA-128 manual which you can find
online.
MS
Todd Polk wrote:
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
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help