veryalien
veryalien
When I looked at the code for badger_os here: https://github.com/pimoroni/pimoroni-pico/blob/main/micropython/examples/badger2040/badger_os.py It apparantly does **exactly** the same thing, and the battery.py example with (MAX_BATTERY_VOLTAGE = 3.2 and MIN_BATTERY_VOLTAGE = 2.0) works...
As far as I can see, it's working when I add the first call. I suppose it might never really update to show the true battery level. I'll go back...
Or just totally overwrite main.py with a completely different script. I modified launcher.py and loaded it as a completely different main.py directly containing all the launcher.py code. This is totally...
I've just realised that this suggestion is relatively simple: try to adapt the M5Stack Arduino example for M5Core2. You can simply replace the first line of the m5stack arduino sketch...