Skip to content

Commit

Permalink
update readme - Arduino R4
Browse files Browse the repository at this point in the history
  • Loading branch information
RobTillaart committed Jan 21, 2025
1 parent b660430 commit 1c2e88d
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 11 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion dhtnew.cpp
Original file line number Diff line number Diff line change
@@ -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
//
Expand Down
4 changes: 2 additions & 2 deletions dhtnew.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
//
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/dhtnew_dht11/dhtnew_dht11.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion examples/dhtnew_minimum/dhtnew_minimum.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "*",
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=DHTNEW
version=0.5.2
version=0.5.3
author=Rob Tillaart <[email protected]>
maintainer=Rob Tillaart <[email protected]>
sentence=Arduino library for DHT temperature and humidity sensor, with automatic sensortype recognition.
Expand Down

0 comments on commit 1c2e88d

Please sign in to comment.