thannara123
Advanced Member level 5
hai experts in mikroc pro
i write a led blinking program
but the delay not working
my programm is follows
void main()
{
TRISB=0;
PORTB=1;
delay_ms(1000);
PORTB=0;
}
it didnt blink .it full time in ON condition
i reversed
the program that is
PORTB=0:
delay_ms(1000);
PORTB=1
}
at this time the LED will not ON
please help me thanks
i write a led blinking program
but the delay not working
my programm is follows
void main()
{
TRISB=0;
PORTB=1;
delay_ms(1000);
PORTB=0;
}
it didnt blink .it full time in ON condition
i reversed
the program that is
PORTB=0:
delay_ms(1000);
PORTB=1
}
at this time the LED will not ON
please help me thanks