hassan khan
Junior Member level 1
- Joined
- Mar 25, 2012
- Messages
- 15
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,370
hi!
i am newbie i m using "US-Burn V1.8 a3" programmer and mikroc as compiler
My code is:
void main() {
TRISB = 0; // TO MAKE PORTB OUTPUT
PORTB = 0;
while(1)
{
PORTB = ~PORTB; // TO TOGGLE PORTB
Delay_ms(5000);
}
}
but when i m checking it on hardware led is just ON but it is not blinking,when i m burning the code from programmar during blank check it was giving me an error "config error don't care".tell me whats the mistake i m doing
your response will be highly appreciated!!!
i am newbie i m using "US-Burn V1.8 a3" programmer and mikroc as compiler
My code is:
void main() {
TRISB = 0; // TO MAKE PORTB OUTPUT
PORTB = 0;
while(1)
{
PORTB = ~PORTB; // TO TOGGLE PORTB
Delay_ms(5000);
}
}
but when i m checking it on hardware led is just ON but it is not blinking,when i m burning the code from programmar during blank check it was giving me an error "config error don't care".tell me whats the mistake i m doing
your response will be highly appreciated!!!