DS1631  v1.0.4
Arduino Library for the Maxim Integrated DS1631 I2C Thermometer
Arduino Library Header to access a Microchip SRAM

Description

Class definition header for the DS1631 I2C thermometer from Maxim integrated, described at https://www.maximintegrated.com/en/products/analog/sensors-and-sensor-interface/DS1631.html. The DS1631's data sheet is located at https://datasheets.maximintegrated.com/en/ds/DS1631-DS1731.pdf.

The most recent version of this library can be found at https://github.com/Zanduino/DS1631 and a detailed library description is on the library's wiki at https://github.com/Zanduino/DS1631/wiki

The DS1631 is accurate to within �0.5�C Accuracy over 0�C to +70�C Range and has a user-selectable resolution from 9 to 12 bits. The DS1631 can also be used as a thermostat with a dedicated output pin. The address is user-selectable and up to 8 devices can be put on a single I2C bus

doxygen configuration

This library is built with the standard "Doxyfile", which is located at https://github.com/Zanduino/Common/blob/main/Doxygen. As described on that page, there are only 5 environment variables used, and these are set in the project's actions file, located at https://github.com/Zanduino/BME280/blob/master/.github/workflows/ci-doxygen.yml Edit this file and set the 5 variables - PRETTYNAME, PROJECT_NAME, PROJECT_NUMBER, PROJECT_BRIEF and PROJECT_LOGO so that these values are used in the doxygen documentation. The local copy of the doxyfile should be in the project's root directory in order to do local doxygen testing, but the file is ignored on upload to GitHub.

clang-format

Part of the GitHub actions for CI is running every source file through "clang-format" to ensure that coding formatting is done the same for all files. The configuration file ".clang-format" is located at https://github.com/Zanduino/Common/tree/main/clang-format and this is used for CI tests when pushing to GitHub. The local file, if present in the root directory, is ignored when committing and uploading.

GNU General Public License v3.0

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Author

Written by Arnd Arnd@.nosp@m.Zand.nosp@m.uino..nosp@m.Com at https://www.github.com/SV-Zanshin

Changelog

VersionDate Developer Comments
1.0.4 2022-05-13 RadioMCMLVI Issue #13 - Incorrect set polarity value
1.0.4 2019-01-26 SV-Zanshin Issue #9 - converted documentation to doxygen
1.0.3 2019-01-27 SV-Zanshin Fixed overflow on I2C data types
1.0.2 2018-07-02 SV-Zanshin Added guard code against multiple I2C Speed definitions
1.0.2 2018-06-30 SV-Zanshin Issue #3 to add option to set I2C speed
1.0.1 2018-06-24 SV-Zanshin Minor code cleanup and refactoring
1.0.1 2018-06-24 SV-Zanshin Minor code cleanup and refactoring
1.0.0 2017-08-23 SV-Zanshin Initial release
1.0.0b 2017-08-20 SV-Zanshin Initial coding