Hi,

Due to certain constraints, my project is forced to work on TinyOS1.1. My
aim is to wake-up the main micro-controller based on an external interrupt.
PortE's 5th pin is being used as the external interrupt. To know if the code
is working, I have setup the code in such a way that - each time the
external interrupt is generated, the yellow and green LEDs are supposed to
toggle. Also, I have included a timer (ONE_SHOT) to the system which makes
sure that once the timer fires, the LEDs toggle  5 seconds later.

The external interrupt is level triggered; it has been configured such that
if it's logic 0, then the interrupt is generated. Else if it's a logic 1,
then no interrupt generated. At present, the external interrupt is not being
detected. The analog value of the voltage being fed into the circuit is 3V
(VCC for the ATMEGA128 uC is 3.3V). Could you please tell me whether there's
anything wrong with the code? Am I missing some configuration? How do I know
whether PORTE5 is no longer a general I/O pin but an external interrupt pin?

I have attached 2 files-  RTCM (module) and RTCC and (configuration).

Thanks,
Suresh

Attachment: RTCM.nc
Description: Cdf file

Attachment: RTCC.nc
Description: Cdf file

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

Reply via email to