I#d love to see this in international versions with a compliant socket.. (the one shown here is not acceptable in the UK)
Best posts made by sambartle
RE: 10 min battery life
It's confusing to tell if its fully charged using the example code as the battery icon is just calculated by looking at voltage.. so it'll jump to 100% quickly after the USB-C is connected.
It will not however be full though. (the voltage is increased by the USB not by the battery being charged)
Leave it charging for a few hours.
RE: M5Paper Canvas not working in Arduino IDE
To go full circle and solve the issue... Are you using platformio rather than arduino?
You need to add:
# Name, Type, SubType, Offset, Size, Flags nvs, data, nvs, 0x9000, 0x5000, otadata, data, ota, 0xe000, 0x2000, app0, app, ota_0, 0x10000, 0x640000, app1, app, ota_1, 0x650000,0x640000, spiffs, data, spiffs, 0xc90000,0x370000,
in a new file "default_16MB.csv" in the same folder as platformio.ini, and modify platformio.ini to add:
board_build.partitions = default_16MB.csv build_flags = -DCORE_DEBUG_LEVEL=4 -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue
Which fixes the RAM issue and allows using the full size canvas.