Skip to content

Commit

Permalink
Update PowerSave.md
Browse files Browse the repository at this point in the history
Fix #1037
  • Loading branch information
SpenceKonde authored Dec 2, 2023
1 parent 1a46e41 commit 7e836cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion megaavr/extras/PowerSave.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The ADC can be a source of power drain.
// Before sleeping
ADC0.CTRLA &= ~ADC_ENABLE_bm; //Very important on the tinyAVR 2-series
// upon waking if ou plan to use the ADC
ADC0.CTRLA |= ~ADC_ENABLE_bm;
ADC0.CTRLA |= ADC_ENABLE_bm;
```
may reduce draw by hundreds of ua. You should also be sure to set all unused pins to either INPUT_PULLUP, OUTPUT, or disable their input (see [the Digital Pin Function referernce](Ref_Digital.md))

Expand Down

0 comments on commit 7e836cd

Please sign in to comment.