thankyou sir ur reply was helpful, i have another question to ask, my device is pic 16f72 and port b is digital
when a programm run in a loop how can i intrrupt it for example
main:
high portb.7
pause 100
low portb.7
pause 100
goto main
------
now this loop keep repeating how can i intrrupt this loop ? if i write like this
main:
high portb.7
pause 100
low portb.7
pause 100
goto main
if portb.2=0 then
portb.7 = 0
endif
------------
intrrupt here doesnt work what is the way out to get out of the loop now




Bookmarks