diff --git a/firmware/sensors.ino b/firmware/sensors.ino index b6885f0..eb02526 100755 --- a/firmware/sensors.ino +++ b/firmware/sensors.ino @@ -50,6 +50,10 @@ float fetchWindspeed() { float getBatteryVoltage() { uint16_t raw = analogRead(A0); float volt = raw / 1023.0; +#ifdef BOARD_03962A return volt * 6.79; +#else + return volt * 4.0; +#endif }