Read correct battery voltage

Hi @mirkow,

Navio2’s ADC example shows 6 values:

A0 - board voltage
A1 - servo rail voltage
A2 - Voltage on Power port
A3 - Current on Power port
A4 - ADC port voltage
A5 - ADC port current

Navio2’s examples were made to test if the board works. They were not intended to make any precise measurements.

If you need to measure battery voltage you can apply a 1.13 multiplier to the A2 channel readings in C++ or Python examples code.