Tab5: Arduino configTime and configTzTime return the wrong date and time (way off)
-
The configTime() or configTzTime() functions do not return errors but the returned date and time are way off: up to 2 days in the future and totally wrong time too.
The esp32 code shown in this makernote works without fail on the same Tab5 device.
my platformio.ini:
[env:esp32p4_pioarduino] platform = https://github.com/pioarduino/platform-espressif32.git#54.03.21 upload_speed = 1500000 monitor_speed = 115200 build_type = debug framework = arduino board = esp32-p4-evboard board_build.mcu = esp32p4 board_build.flash_mode = qio board_build.partitions = default_16MB.csv board_build.filesystem = spiffs build_flags = -DBOARD_HAS_PSRAM -DCORE_DEBUG_LEVEL=5 -DARDUINO_USB_CDC_ON_BOOT=1 -DARDUINO_USB_MODE=1 lib_deps = https://github.com/M5Stack/M5Unified.git https://github.com/M5Stack/M5GFX.gitOther Arduino stuff is broken too: after wakeup from lightsleep the display does not work properly half of the time: the cursor position is sometimes totally off, or sometimes it does not wake at all. I suppose the display needs a hardware reset via a GPIO, but can't find any mention of this in the docs.
But the hardware is very nice indeed. Especially the undocumented coin battery backup for the RTC is a nice surprise!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login