I copied your code, and i can not see that error, however, instead of the;
try this;Code:@ INT_DISABLE TMR1_INT '1 wire stuff @ INT_ENABLE TMR1_INT
Code:T1CON.0 = 0 ; Turn OFF Timer1 '1 wire stuff T1CON.0 = 1 ; Turn ON Timer1
I copied your code, and i can not see that error, however, instead of the;
try this;Code:@ INT_DISABLE TMR1_INT '1 wire stuff @ INT_ENABLE TMR1_INT
Code:T1CON.0 = 0 ; Turn OFF Timer1 '1 wire stuff T1CON.0 = 1 ; Turn ON Timer1
Thanks and Regards;
Gadelhas
I tried this way, but...the timer stop counting (so, I can't display 5 sec. IN and 5 sec. OUT) and the reading of sensor(s) it's not continous....like in my "original" code...
I want to read permanent the sensors (for sensing the variation of temperatures) and display the temperature, 5 seconds from first sensor, the next 5 seconds from second sensor, so on, so on ....
Otherwise I can write the code like this :
" display temperature 1
pause 5000
display temperature 2
pause 5000
goto loop "
which is not a good option ...
Bookmarks