Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20638

BASCOM-AVR : Do Nothing Loop : REPLY

$
0
0
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

Viewing all articles
Browse latest Browse all 20638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>