адаптация. в Serial выводятся PPS/SQW и на LCD печатается время
This commit is contained in:
135
2024-07-21 20:30:17 +03:00
parent 43a7b6307c
commit b56f705f05
5 changed files with 271 additions and 10 deletions

46
Timezone_Generic.h Normal file
View File

@@ -0,0 +1,46 @@
/*********************************************************************************************************************************
Timezone_Generic.h
For AVR, ESP8266/ESP32, SAMD21/SAMD51, nRF52, STM32, WT32_ETH01 boards
Based on and modified from Arduino Timezone Library (https://github.com/JChristensen/Timezone)
to support other boards such as ESP8266/ESP32, SAMD21, SAMD51, Adafruit's nRF52 boards, etc.
Copyright (C) 2018 by Jack Christensen and licensed under GNU GPL v3.0, https://www.gnu.org/licenses/gpl.html
Built by Khoi Hoang https://github.com/khoih-prog/Timezone_Generic
Licensed under MIT license
Version: 1.10.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.2.4 K Hoang 17/10/2020 Initial porting to support SAM DUE, SAMD21, SAMD51, nRF52, ESP32/ESP8266, STM32, etc. boards
using SPIFFS, LittleFS, EEPROM, FlashStorage, DueFlashStorage.
1.2.5 K Hoang 28/10/2020 Add examples to use STM32 Built-In RTC.
1.2.6 K Hoang 01/11/2020 Allow un-initialized TZ then use begin() method to set the actual TZ (Credit of 6v6gt)
1.3.0 K Hoang 09/01/2021 Add support to ESP32/ESP8266 using LittleFS/SPIFFS, and to AVR, UNO WiFi Rev2, etc.
Fix compiler warnings.
1.4.0 K Hoang 04/06/2021 Add support to RP2040-based boards using RP2040 Arduino-mbed or arduino-pico core
1.5.0 K Hoang 13/06/2021 Add support to ESP32-S2 and ESP32-C3. Fix bug
1.6.0 K Hoang 16/07/2021 Add support to WT32_ETH01
1.7.0 K Hoang 10/08/2021 Add support to Ameba Realtek RTL8720DN, RTL8722DM and RTM8722CSM
1.7.1 K Hoang 10/10/2021 Update `platform.ini` and `library.json`
1.7.2 K Hoang 02/11/2021 Fix crashing issue for new cleared flash
1.7.3 K Hoang 01/12/2021 Auto detect ESP32 core for LittleFS. Fix bug in examples for WT32_ETH01
1.8.0 K Hoang 31/12/2021 Fix `multiple-definitions` linker error
1.9.0 K Hoang 20/01/2022 Make compatible to old code
1.9.1 K Hoang 26/01/2022 Update to be compatible with new FlashStorage libraries. Add support to more SAMD/STM32 boards
1.10.0 K Hoang 06/04/2022 Use Ethernet_Generic library as default. Add support to Portenta_H7 Ethernet and WiFi
1.10.1 K Hoang 25/09/2022 Add support to `RP2040W` using `CYW43439 WiFi` with `arduino-pico` core
**********************************************************************************************************************************/
#pragma once
#ifndef TIMEZONE_GENERIC_H
#define TIMEZONE_GENERIC_H
#include "Timezone_Generic.hpp"
#include "Timezone_Generic_Impl.h"
#endif // TIMEZONE_GENERIC_H