Hi,
There's nothing wrong with doing a busy Loop. But as you save your device is battery operated, I'd recommend that you put the CPU to sleep/idle in the Loop, just to save power. Something like:-
[code:1:e59d8122db]
while Action=0 'Action set in ISR
config power=idle 'Sleep, saving power
wend
[/code:1:e59d8122db]
Regards
Ian Dobson
↧