The reverse protected and switched battery voltage on VSW can be monitored through a voltage divider that is connected to '''analog pin 1''' (PF6) by default. The divider outputs a voltage that is equal to one third of the battery voltage, which will be safely below the ATmega32U4’s maximum analog input voltage of 5 V as long as the battery voltage is less than 15 V (though the maximum voltage for the board is still limited to 10.8 V by the DRV8838 motor driver). The {{fname|readBatteryMillivolts()}} function in the Romi32U4 library can be used to determine the battery voltage from this reading. The surface-mount jumper labeled “A1 = BATLEV” can be cut to disconnect the voltage divider and free the pin for other uses. | The reverse protected and switched battery voltage on VSW can be monitored through a voltage divider that is connected to '''analog pin 1''' (PF6) by default. The divider outputs a voltage that is equal to one third of the battery voltage, which will be safely below the ATmega32U4’s maximum analog input voltage of 5 V as long as the battery voltage is less than 15 V (though the maximum voltage for the board is still limited to 10.8 V by the DRV8838 motor driver). The {{fname|readBatteryMillivolts()}} function in the Romi32U4 library can be used to determine the battery voltage from this reading. The surface-mount jumper labeled “A1 = BATLEV” can be cut to disconnect the voltage divider and free the pin for other uses. |