Interrupts using 8051 Keil Vision, Atmel 89C52
no vote
//This code is written to blink the #1, #3, #5, and #7 LEDs every 200 ms using timer 0
//In addition, the code uses the FIRST TWO seven segment displays to cycle from 0 to 60 using timer 1
#include <reg52.h>
sbit led1 = P1^0;
sbit led3 = P1^2;
sbit led5 = P1^4;
sbit led7 = P1^6;
sbit LE1 = P2^6;
sbit LE2 = P2^7;
void delay(void);