How do I monitor battery with wazidev

Hello @cdupont1 and @cpham2
Could you be having a sample code to monitor the battery using wazidev board?

Hi Usafi,

It is just an analogue pin you need to read, just like any other analogue sensor. As explained here:

The battery level monitoring is wired to pin A7 so you simply connect your battery to the WaziDev battery input and read analogue pin A7.

The retrieved number needs to be calibrated just like all analogue sensors.