Skip to content

Commit 017c29a

Browse files
author
microbuilder
committed
Cleanup
1 parent 1399cdf commit 017c29a

File tree

1 file changed

+1
-1
lines changed
  • libraries/AdafruitFeather52Examples/Hardware/adc_vbat

1 file changed

+1
-1
lines changed

libraries/AdafruitFeather52Examples/Hardware/adc_vbat/adc_vbat.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ float readVBAT(void) {
1919
raw = analogRead(VBAT_PIN);
2020

2121
// Set the ADC back to the default settings
22-
analogReference(AR_INTERNAL);
22+
analogReference(AR_DEFAULT);
2323
analogReadResolution(10);
2424

2525
// Convert the raw value to mv

0 commit comments

Comments
 (0)