For some reason disabling interrupt during the WHILE loop did not work. I could have done
something stupid.
What I want to know is where is the list of "blocking" commands. I do not see such a list in
my PBP book. For example, is COUNT a blocker?
Here is what I coded immediately after main:
main:
'-------------------
Kencheckchannel3:
'worked with four AA batteries pack. Radio receiver puts pulses
'on this line whenever the transmitter is turned ON.
switchtoPIC = 2
while switchtoPIC >= 2
@ INT_DISABLE TMR1_INT
count channel3,65,switchtoPIC
high portc.0
wend
low portc.0
@ INT_ENABLE TMR1_INT
Bookmarks