ami89
Newbie level 3
Hello all
I'm trying a simple LED blinking program on PORTA on PIC16F690 but it's not working, only one led is blinking RA0 ..
I'm using MikroC PRO the code:
void main()
{
TRISA = 0b000000;
while(1)
{ PORTA = 1;
Delay_ms(1000);
PORTA = 0;
Delay_ms(1000);
}
}
I tried it on a different port & it didn't work either
would appreciate any help you can offer
I'm trying a simple LED blinking program on PORTA on PIC16F690 but it's not working, only one led is blinking RA0 ..
I'm using MikroC PRO the code:
void main()
{
TRISA = 0b000000;
while(1)
{ PORTA = 1;
Delay_ms(1000);
PORTA = 0;
Delay_ms(1000);
}
}
I tried it on a different port & it didn't work either
would appreciate any help you can offer