vinodhembedded
Junior Member level 2
- Joined
- Jul 29, 2013
- Messages
- 22
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 147
Hii,
i need help to clear this error in ths program..
I m getting the error ->
"Assigning to non-value[T0IF]"
i need help to clear this error in ths program..
Code C - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 #include<built_in.h> void main() { int count=0; TRISB=0x00; PORTB=0; TMR0=0; OPTION_REG=0x07; while(1) { PORTB.F1=1; Delay_ms(100); PORT.F1=0; while(PORTB.F0==1) { while(!T0IF); T0IF=0; count++; if(count==15) { PORTB.F2=1; Delay_ms(500); count=0; PORTB.F2=0; }}}}
I m getting the error ->
"Assigning to non-value[T0IF]"
Last edited by a moderator: