Introduction - If you have any usage issues, please Google them yourself
This an AVR microcontroller (atmega128, ICCAVR7 environment, the hardware connection: PD mouth then eight light-emitting LED, init0 take independent keys) external interrupt example code, the program begins execution, the first LED flashes to 0.5s, when After the button is pressed, eight LED also lit 3s, then resume a LED flash.