You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Restrukture Code, Improve Dokumentation and Indroduce Unit Testing (#10) (#11)
* rename all names to DS3231-RTC
* header include guard needs underscores
* Update README.md
- added getYearDay()
* rework docu to time getting functions
* update Tests and class structure
* Update GitHub Actions workflow for compiling examples
* Downgrade arduino/compile-sketches action to v1
* Add C++17 compiler flags to compile workflow
Add extra compiler flags for C++17 support in Arduino workflow.
* remove Unix_offset and NTP_offset from Constants
* remove std::optional
* update examples to reowked code
* reorder includes
* rework clock mode setter
* Bugfix for RTC::now in hour calculation, add begin() method; add method to get hour mode
* adapt examples with begin() method
* update keyword.txt
* Remove build folder from version control
* add tests to readme; comment bin2dec function
* remove double defined function bcd2bin; replace functional code by more performant bcd functiontional code.
* restructure static funtions => make them constexpr
* Update unit tests; update libraries informations; adapt Readme
* adapt work flow rund for unit tests
* add status badge for Readme
* Delete .DS_Store
* update Readme
The **great** C++ Library for the DS3231 real-time clock (RTC) module.
6
7
@@ -17,70 +18,112 @@ This document explains the installation and usage of the Library with the Arduin
17
18
You do have to install the Library in your Arduino IDE environment before you can use it. Installation instructions are provided, below.
18
19
19
20
**REMARK**:<br>
20
-
This library was based on the master branch of [NorthernWidget/DS3231](https://github.com/NorthernWidget/DS3231) Library in Oct/2023. It was reworked and refractured with respect of the following main topics:
21
+
This library was based on the master branch of [NorthernWidget/DS3231](https://github.com/NorthernWidget/DS3231) Library in Oct/2023. It was maintained, reworked and refractured with respect of the following main topics:
21
22
* using standardized functions of the `time.h` library.
22
23
* introduce a `struct tm` which holds all relevant date and time values.
23
24
* restructure comments, so that syntax highlighting works fine.
24
25
* add a `strf_DateTime()` function with can be used to print a user specific(self defined) DateTime string easily.
26
+
* restructure of code with respect of clean code
27
+
* usage of Doxygen Documentation generation
28
+
* introduce Google Unit Testing
29
+
25
30
26
31
## Contents
27
32
28
-
*[Summary](#summary)
33
+
*[Summary and How to Start](#summary-and-how-to-start)
34
+
*[Get Datetime from DS3231](#setup-and-get-datetime-from-ds3231)
35
+
*[Set the DS3231 Module with Date and Time](#setup-and-set-the-date-and-time-in-the-ds3231-module)
0 commit comments