diff --git a/CHANGELOG.md b/CHANGELOG.md index 05ad712..94fc3f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,12 +6,15 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [0.5.3] - 2025-01-21 +- update readme.md - fix for R4 + - https://github.com/arduino/uno-r4-library-compatibility/issues/38 + ## [0.5.2] - 2024-11-26 - fix #104, add support for KY015 (again) - minor edits examples - add **DHT_endless_debug.ino** develop example - ## [0.5.1] - 2024-11-24 - fix #102, add support for KY015 - add three examples, dhtnew_dht11.ino, dhtnew_dht22.ino, dhtnew_simple.ino diff --git a/LICENSE b/LICENSE index a435724..cc54713 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2017-2024 Rob Tillaart +Copyright (c) 2017-2025 Rob Tillaart Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 7b4ce55..9942fa1 100644 --- a/README.md +++ b/README.md @@ -195,7 +195,7 @@ The "short-named" offset functions will become obsolete in the future (0.6.0). Functions to adjust the communication with the sensor. - **void setDisableIRQ(bool b )** allows or suppresses interrupts during core -read function to keep timing as correct as possible. **Note AVR + MKR1010** +read function to keep timing as correct as possible. **Note AVR + MKR1010 + Arduino R4** - **bool getDisableIRQ()** returns the above setting. Default **true**. - **void setWaitForReading(bool b )** flag to enforce a blocking wait. - **bool getWaitForReading()** returns the above setting. @@ -226,6 +226,8 @@ This solved this problem at least on - AVR boards - is build into the constructor - MKR1010 Wifi - see https://github.com/RobTillaart/DHTNew/issues/67 (added as comment in the examples) +- Arduino R4 - see https://github.com/arduino/uno-r4-library-compatibility/issues/38 + In version 0.4.10 the TIMEOUT_C is extended from 70-90 us to even suppress the TIMEOUT_C even more. See discussion and tests in https://github.com/RobTillaart/DHTNew/issues/67. @@ -365,7 +367,12 @@ Add dhtnew_pulse_diag_ext.ino 37. (0.5.0) Fix negative values 38. (0.5.1) -Support KY015 and more. +Support KY015 and more +38. (0.5.2) +Support KY015 (again) +Add **DHT_endless_debug.ino** develop example +38. (0.5.3) +Update readme.md for Arduino R4 ## Future diff --git a/dhtnew.cpp b/dhtnew.cpp index a5879ba..8b0c9ee 100644 --- a/dhtnew.cpp +++ b/dhtnew.cpp @@ -1,7 +1,7 @@ // // FILE: dhtnew.cpp // AUTHOR: Rob Tillaart -// VERSION: 0.5.2 +// VERSION: 0.5.3 // PURPOSE: DHT Temperature & Humidity Sensor library for Arduino // URL: https://github.com/RobTillaart/DHTNEW // diff --git a/dhtnew.h b/dhtnew.h index e7095bc..1f30056 100644 --- a/dhtnew.h +++ b/dhtnew.h @@ -2,7 +2,7 @@ // // FILE: dhtnew.h // AUTHOR: Rob Tillaart -// VERSION: 0.5.2 +// VERSION: 0.5.3 // PURPOSE: DHT Temperature & Humidity Sensor library for Arduino // URL: https://github.com/RobTillaart/DHTNEW // @@ -18,7 +18,7 @@ #include "Arduino.h" -#define DHTNEW_LIB_VERSION (F("0.5.2")) +#define DHTNEW_LIB_VERSION (F("0.5.3")) #define DHTLIB_OK 0 diff --git a/examples/dhtnew_dht11/dhtnew_dht11.ino b/examples/dhtnew_dht11/dhtnew_dht11.ino index fc86aa8..a2b221c 100644 --- a/examples/dhtnew_dht11/dhtnew_dht11.ino +++ b/examples/dhtnew_dht11/dhtnew_dht11.ino @@ -28,7 +28,7 @@ void setup() Serial.println(DHTNEW_LIB_VERSION); Serial.println(); - // MKR1010 + // MKR1010 + Arduino R4 // mySensor.setDisableIRQ(false); Serial.println("\n1. Type detection test, first run might take longer to determine type"); diff --git a/examples/dhtnew_minimum/dhtnew_minimum.ino b/examples/dhtnew_minimum/dhtnew_minimum.ino index 859c4d2..1452195 100644 --- a/examples/dhtnew_minimum/dhtnew_minimum.ino +++ b/examples/dhtnew_minimum/dhtnew_minimum.ino @@ -26,7 +26,7 @@ void setup() Serial.println(__FILE__); Serial.println(); - // MKR1010 needs this + // MKR1010 needs this + Arduino R4 // mySensor.setDisableIRQ(false); Serial.println("BEFORE OFFSET"); diff --git a/library.json b/library.json index 32ec7da..754e124 100644 --- a/library.json +++ b/library.json @@ -13,7 +13,7 @@ "type": "git", "url": "https://github.com/RobTillaart/DHTNEW.git" }, - "version": "0.5.2", + "version": "0.5.3", "license": "MIT", "frameworks": "*", "platforms": "*", diff --git a/library.properties b/library.properties index 3319067..1bd1fb4 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=DHTNEW -version=0.5.2 +version=0.5.3 author=Rob Tillaart maintainer=Rob Tillaart sentence=Arduino library for DHT temperature and humidity sensor, with automatic sensortype recognition.