Skip to content

Commit 434a009

Browse files
authored
update readme - Arduino R4 (#107)
1 parent b660430 commit 434a009

File tree

9 files changed

+21
-11
lines changed

9 files changed

+21
-11
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,15 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

88

9+
## [0.5.3] - 2025-01-21
10+
- update readme.md - fix for R4
11+
- https://github.com/arduino/uno-r4-library-compatibility/issues/38
12+
913
## [0.5.2] - 2024-11-26
1014
- fix #104, add support for KY015 (again)
1115
- minor edits examples
1216
- add **DHT_endless_debug.ino** develop example
1317

14-
1518
## [0.5.1] - 2024-11-24
1619
- fix #102, add support for KY015
1720
- add three examples, dhtnew_dht11.ino, dhtnew_dht22.ino, dhtnew_simple.ino

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2017-2024 Rob Tillaart
3+
Copyright (c) 2017-2025 Rob Tillaart
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ The "short-named" offset functions will become obsolete in the future (0.6.0).
195195
Functions to adjust the communication with the sensor.
196196

197197
- **void setDisableIRQ(bool b )** allows or suppresses interrupts during core
198-
read function to keep timing as correct as possible. **Note AVR + MKR1010**
198+
read function to keep timing as correct as possible. **Note AVR + MKR1010 + Arduino R4**
199199
- **bool getDisableIRQ()** returns the above setting. Default **true**.
200200
- **void setWaitForReading(bool b )** flag to enforce a blocking wait.
201201
- **bool getWaitForReading()** returns the above setting.
@@ -226,6 +226,8 @@ This solved this problem at least on
226226
- AVR boards - is build into the constructor
227227
- MKR1010 Wifi - see https://github.com/RobTillaart/DHTNew/issues/67
228228
(added as comment in the examples)
229+
- Arduino R4 - see https://github.com/arduino/uno-r4-library-compatibility/issues/38
230+
229231

230232
In version 0.4.10 the TIMEOUT_C is extended from 70-90 us to even suppress the TIMEOUT_C
231233
even more. See discussion and tests in https://github.com/RobTillaart/DHTNew/issues/67.
@@ -365,7 +367,12 @@ Add dhtnew_pulse_diag_ext.ino
365367
37. (0.5.0)
366368
Fix negative values
367369
38. (0.5.1)
368-
Support KY015 and more.
370+
Support KY015 and more
371+
38. (0.5.2)
372+
Support KY015 (again)
373+
Add **DHT_endless_debug.ino** develop example
374+
38. (0.5.3)
375+
Update readme.md for Arduino R4
369376

370377

371378
## Future

dhtnew.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
// FILE: dhtnew.cpp
33
// AUTHOR: Rob Tillaart
4-
// VERSION: 0.5.2
4+
// VERSION: 0.5.3
55
// PURPOSE: DHT Temperature & Humidity Sensor library for Arduino
66
// URL: https://github.com/RobTillaart/DHTNEW
77
//

dhtnew.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// FILE: dhtnew.h
44
// AUTHOR: Rob Tillaart
5-
// VERSION: 0.5.2
5+
// VERSION: 0.5.3
66
// PURPOSE: DHT Temperature & Humidity Sensor library for Arduino
77
// URL: https://github.com/RobTillaart/DHTNEW
88
//
@@ -18,7 +18,7 @@
1818
#include "Arduino.h"
1919

2020

21-
#define DHTNEW_LIB_VERSION (F("0.5.2"))
21+
#define DHTNEW_LIB_VERSION (F("0.5.3"))
2222

2323

2424
#define DHTLIB_OK 0

examples/dhtnew_dht11/dhtnew_dht11.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ void setup()
2828
Serial.println(DHTNEW_LIB_VERSION);
2929
Serial.println();
3030

31-
// MKR1010
31+
// MKR1010 + Arduino R4
3232
// mySensor.setDisableIRQ(false);
3333

3434
Serial.println("\n1. Type detection test, first run might take longer to determine type");

examples/dhtnew_minimum/dhtnew_minimum.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ void setup()
2626
Serial.println(__FILE__);
2727
Serial.println();
2828

29-
// MKR1010 needs this
29+
// MKR1010 needs this + Arduino R4
3030
// mySensor.setDisableIRQ(false);
3131

3232
Serial.println("BEFORE OFFSET");

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"type": "git",
1414
"url": "https://github.com/RobTillaart/DHTNEW.git"
1515
},
16-
"version": "0.5.2",
16+
"version": "0.5.3",
1717
"license": "MIT",
1818
"frameworks": "*",
1919
"platforms": "*",

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=DHTNEW
2-
version=0.5.2
2+
version=0.5.3
33
author=Rob Tillaart <[email protected]>
44
maintainer=Rob Tillaart <[email protected]>
55
sentence=Arduino library for DHT temperature and humidity sensor, with automatic sensortype recognition.

0 commit comments

Comments
 (0)