Testing ESP32 M5Stack CoreInk device with a NTP sync clock
- eInk display refresh without any blink
- shutdown with RTC implementation
- run time is only 2 sec each minute
- NTP sync beep confirmation
- added implementation for ENVII hat (disabled for default)
- detecting USB charging (only works with battery for now)
- Clock features on Left/Right wheel button
Please first export your credentials before build it:
export PIO_WIFI_SSID='your_wifi_name'
export PIO_WIFI_PASSWORD='your_wifi_passw'
Edit the main file in src
and choose your time zone:
const char* NTP_SERVER = "ch.pool.ntp.org";
const char* TZ_INFO = "CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00";
You can look up for your time zone here
Using PlatformIO, more easy than Arduino IDE, only run:
pio run --target upload
Press middle button and then power button, when it play a beep, release those. The beep means that NTP works fine.