Update BluePill-RTClock-test.ino

Clarify English documentation by changing all occurrences of "10 bits" to "10 digits", referring to Epoch time.
This commit is contained in:
Ken Willmott 2018-01-31 08:38:14 -05:00 committed by GitHub
parent 5368d04c56
commit 4b6a6e8077
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 感谢所有贡献者的付出。