Update comments DS3231

This commit is contained in:
Theo Arends 2022-03-02 17:26:34 +01:00
parent 5a88a17f12
commit d52ed2b7dd
1 changed files with 6 additions and 6 deletions

View File

@ -24,10 +24,10 @@
* *
* DS3231 - An accurate RTC that used for get time when you do not have internet connection. * DS3231 - An accurate RTC that used for get time when you do not have internet connection.
* We store UTC time in the DS3231, so we can use the standart functions. * We store UTC time in the DS3231, so we can use the standart functions.
* HOWTO Use : Initially the time needs to be set into the DS3231 either by * HOWTO Use : Initially the time needs to be set into the DS3231 either
* - hand using command TIME <epochtime> * - manual using command TIME <epochtime>
* - internet using NTP * - by internet using NTP
* - GPS using UBX driver * - by GPS using UBX driver
* Once stored the time will be automaticaly updated by the DS2331 after power on * Once stored the time will be automaticaly updated by the DS2331 after power on
* Source: Guy Elgabsi with special thanks to Jack Christensen * Source: Guy Elgabsi with special thanks to Jack Christensen
* *
@ -41,8 +41,8 @@
#define USE_RTC_ADDR 0x68 // DS3231 I2C Address #define USE_RTC_ADDR 0x68 // DS3231 I2C Address
#endif #endif
#ifndef USE_GPS // USE_GPS provides it's own (better) NTP server so skip this one #ifndef USE_GPS // GPS driver has it's own NTP server
#define DS3231_NTP_SERVER #define DS3231_NTP_SERVER // Enable NTP server (+0k8 code)
#endif #endif
// DS3231 Register Addresses // DS3231 Register Addresses