Skip to content

Commit

Permalink
πŸ› fix: Change Battery Pin GPIO27 to GPIO35
Browse files Browse the repository at this point in the history
`ADC2` GPIO27 Cannot use by `WiFi` Mode, Change to `GPIO35`.
  • Loading branch information
Hsun1031 committed Mar 19, 2023
1 parent 164dd5a commit c2af9ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/header.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#define CLEANER_DEFAULT_I2C2_SCL 32

// Battery input pinout
#define CLEANER_DEFAULT_BATTERY 27
#define CLEANER_DEFAULT_BATTERY 35
#define CLEANER_DEFAULT_BATTERY_MIN_VALUE 0
#define CLEANER_DEFAULT_BATTERY_MAX_VALUE 4095

Expand Down

0 comments on commit c2af9ef

Please sign in to comment.