while temp2 != temp
write 5, temp
pause 60
read 5, temp2
wend
This is a part of my program. I am trying to store the hi-score in 16F84's eeprom. Sometimes program cannot exit from the loop. What problems cause this loop continues forever?
while temp2 != temp
write 5, temp
pause 60
read 5, temp2
wend
This is a part of my program. I am trying to store the hi-score in 16F84's eeprom. Sometimes program cannot exit from the loop. What problems cause this loop continues forever?
Bookmarks