Pustaka Taratsa
WeMOS: NTP

WeMOS: NTP

Penulis: Onno Widodo Purbo

/* NTP-TZ-DST NetWork Time Protocol - Time Zone - Daylight Saving Time This example shows how to read and set time, and how to use NTP (set NTP0_OR_LOCAL1 to 0 below) or an external RTC (set NTP0_OR_LOCAL1 to 1 below) TZ and DST below have to be manually set according to your local settings. This example code is in the public domain. */ #include #include // time() ctime()