Paul,
it's works (in Arduino)!
Thank you very much!
Search found 2 matches
- Sat Apr 21, 2018 3:22 pm
- Forum: General Discussion
- Topic: Getting Local Time without gmt Offset after Deep Sleep
- Replies: 3
- Views: 8278
- Sun Apr 15, 2018 10:48 pm
- Forum: General Discussion
- Topic: Getting Local Time without gmt Offset after Deep Sleep
- Replies: 3
- Views: 8278
Getting Local Time without gmt Offset after Deep Sleep
I'm getting time with SNTP (-3:00GMT), setting RTC with configTime. Check time, is ok. Go to sleep. After wake up, the time is wrong (0GMT), without gmtOffset. I need to use setenv(); and tzset()? How? /* Pega horário no SNTP e acerta o relógio interno faz o sleep para verificar se o relógio continu...