Newbie here. I got the Waveshare Jetbot kit.
I’m trying to get the battery voltage status to show on the display.
Right now on the PiOLED only displays 4 line: “eth0, wlan0, Mem, Disk”
I looked into the ~/jetbot/jetbot/apps/stats.py and looks like it depends on ~/jetbot/jetbot/ina219.py for the battery sensor.
ina219.py runs ok and outputs the following:
PSU Voltage: 12.674 V
Shunt Voltage: 0.026490 V
Load Voltage: 12.648 V
Current: 0.264900 A
Don’t know how to further debug this.