Measuring VCC with an Attiny 85
Topic: Measuring VCC with an Attiny 85
(Read 20895 times)
Re: Measuring VCC with an Attiny 85
Mar 12, 2014, 08:54 am
Quote from: Tom Carpenter on Mar 11, 2014, 09:39 pm
It was just for timer modules, never mind.
No, it's the ADC as well.
If you have an interrupt that accesses ADCH/ADCL then you can't use ADCH/ADCL in the main code without disabling the interrupts. That's obvious...but not usually a problem.