Im doing mostlyt PWM on the cubecell and its working a treat. Because the system is battery powered I wanted to check and give myself an alert if the battery dropped below a predefined level.
Im using 1.2.0 and testing I tried to integrate some code from a previous project that just really allows me to get the battey level but that seems to not be working.
I then tried the example that uses getBatteryVoltage() and with the battery connected and the battery voltage at 3.5v im its returning 16.
If i dissconnect the battery i still get 16.
connecting another battery that was was a little lower and its still reading 16.
Any toughts on this?