Merge pull request #435 from KenWillmott/patch-1

Update BluePill-RTClock-test.ino
This commit is contained in:
Roger Clark 2018-02-26 15:54:14 +11:00 committed by GitHub
commit e37e0bdc87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -8,12 +8,12 @@
3. Serial output on(41s) or off(21s) by creatAlarm
4. change to your timezone in the sketch; .
3. get Unix epoch time from https://www.epochconverter.com/ ;
4. last step input the 10 bits number( example: 1503945555) to Serialport ;
4. last step input the 10 digit number( example: 1503945555) to Serialport ;
5. the clock will be reset to you wanted.
## Why the 10 bits Unix epoch time be used?
## Why the 10 digit Unix epoch time be used?
****Because I wanna connect to NTP server by ESP-8266.
****in the <NTPClient.h> library. getNtpTime() will return this 10 bits Unix epoch time.
****in the <NTPClient.h> library. getNtpTime() will return this 10 digit Unix epoch time.
*
* STM32F10x系列的RTC应用的例子
* https://github.com/rogerclarkmelbourne/Arduino_STM32 感谢所有贡献者的付出。