LED Blinking program by using Mikro (PIC 16F877)
void main() {
TRISB = 0; //Makes PORTB0 or RB0 Output Pin
while(1) //Infinite Loop
{
PORTB = 0x55; //LED ON
Delay_ms(1000); //1 Second Delay
PORTB = 0xAA; //LED OFF
Delay_ms(1000); //1 Second Delay
}
}