Enhanced Dallas Temperature example with permanent sensor index
-
Hi everyone,
I have made some improvements to the Dallas Temperature Sensors example.- made for non blocking main loop (useful for repeater and busy nodes)
block time max 15ms for sensor read procedure - it will remember a sensor index in EEPROM (2 bytes per sensor)
in case if you need to replace or add a new sensor to the 1Wire bus - all other sensors will keep own sensor index
You are welcome to use it:
https://github.com/leodesigner/mysensors-arduino/tree/master/DallasTemperatureSensor_Recall
- made for non blocking main loop (useful for repeater and busy nodes)
-
Thanks a lot !
You make my day !
-
@redvoodoochild
You welcome, I hope it will be useful for you too.
1 out of 3
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
LAN8720A - will mysensors work with this module
Development • 13 Nov 2024, 17:06 • Marcin 15 Nov 2024, 10:59 -
Saving last known good state, but not in EEPROM
Development • 30 Jan 2024, 18:46 • OldSurferDude 15 Jan 2025, 08:51 -
MQTT-Help me understand about the MQTT Gateway.
Development • 27 days ago • dpcons 16 days ago -
Counting Incoming and Outgoing Messages from a Gateway
Development • 10 Dec 2024, 21:57 • Trand 14 Dec 2024, 20:23 -
PJON and Minicore not working
Development • 7 days ago • Trand 7 days ago