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

BASCOM-AVR : how to save more power ? : REPLY

$
0
0
[quote:ef7b93c279="Vincent"]here the complet code of the project.[/quote:ef7b93c279] Hmm, that's not what I did ask for. The trick for a successful error-search is to reduce the code step by step to a minimalistic form, otherwise you miss the forest for the trees. If the problem is found then within the reduced code, on can apply this knowledge to the big code. A reduced form may consist of a few lines, initialization, ADC read, and power down, and the wakeup ISR, nothing else. If that shows still the problem, it's a good starting point to have a thorough look into the machinery,. That's the idea behind debugging, and imho you should reduce the code, as you've the circuit sitting in front of you.

Viewing all articles
Browse latest Browse all 20768

Trending Articles



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