haneen2002 / embedded_c_code3 Goto Github PK
View Code? Open in Web Editor NEWWrite Embedded C code using ATmega32 control 4-LEDs by external interrupt INT1.The first LED is lit and roll down to the last LED then back to the first LED. This operation is done continuous. Enable the internal pull up resistance at INT1 pin (PD3). When the INT1 is triggered all the LEDs flash five times in five seconds.