I always leave watchdog timer on. I use nap 0 to reduce current drain.
start:
nap 0
if porta.1 = 1 then run
goto start
run:
xxxxxxxxxxxxxxxxxx
I always leave watchdog timer on. I use nap 0 to reduce current drain.
start:
nap 0
if porta.1 = 1 then run
goto start
run:
xxxxxxxxxxxxxxxxxx
Bookmarks