Looking for a way to get the battery percentage from the board. I looked at the buttons example you posted and I see you defined #define BATT_PIN 36. Can this be used to read the battery voltage?
float voltage = analogRead(36) / 4096.0 * 7.46; seems to come out null. Is there a way without wiring into additional GPIO to check the voltage?
Looking for a way to get the battery percentage from the board. I looked at the buttons example you posted and I see you defined
#define BATT_PIN 36
. Can this be used to read the battery voltage?float voltage = analogRead(36) / 4096.0 * 7.46;
seems to come out null. Is there a way without wiring into additional GPIO to check the voltage?