I want to write source with mikroc and load hex file to device via MPLAB. But something i am doing wrong.
Code: Select all
void main()
{
TRISB=0;
PORTB=0;
for(;;)
{
PORTB.F4=~PORTB.F4;
Delay_ms(500);
}
}
What else could be whe problem. Led is not blinking.
Regards,
Pranas