working timezone config

This commit is contained in:
Siwat Sirichai 2024-05-22 00:06:12 +07:00
parent b30cfde0b0
commit b62ef700ed
3 changed files with 9 additions and 9 deletions

View file

@ -163,7 +163,7 @@ void setup()
{
ESP_LOGI("Initializer", "Starting ESPMegaPRO OOP demo");
espmega.begin();
espmega.setUTCOffset(7);
espmega.setTimezone("UTC-7");
ESP_LOGI("Initializer", "Enabling IOT module");
espmega.enableIotModule();
ESP_LOGI("Initializer", "Enabling Ethernet");