There is no regulator on the xDot itself so you can measure the battery voltage that way. You can also of wire V_BAT directly to an analog pin such as GPIO0-2. Theres a discussion with code examples of using the voltage references with mbed on the mbed message board here: https://developer.mbed.org/questions/75906/External-Internal-ADC-voltage-reference/
↧