[SOLVED] Anyone a working example of the combination NewPing 1.9 and MySensors 2.2.0 ?
-
Does anyone have a working example of the combination NewPing 1.9 and MySensors 2.2.0 ?
I keep getting distance = 0, while the basic distance sensor sketch works perfectly (on the same setup), so the hardware side is OK.
-
@gertsanders [SOLVED]: a wrong type in a declaration gave constant '0' values. Now corrected and distances is now measured correctly.
1 out of 2
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
Gateway without a radio
Development • 12 Jan 2025, 23:19 • OldSurferDude 14 Jan 2025, 22:07 -
Saving last known good state, but not in EEPROM
Development • 30 Jan 2024, 18:46 • OldSurferDude 15 Jan 2025, 08:51 -
PJON and Minicore not working
Development • 26 days ago • Trand 26 days ago -
Sending offset to node
Development • 31 Jan 2025, 00:59 • bsl88k 4 Feb 2025, 12:14 -
Home Assistant/MySensors quirks
Development • 17 Mar 2025, 02:35 • OldSurferDude 17 Mar 2025, 02:35