Launch a function instead of control a relay, is it possible ?
-
Hi everybody,
I would like to know if it is possible to replace the control of the relay in the example sketch "Relay actuator" by the lauch of a sub function.
Currently, I have an Arduino node (relay actuator) with 2 optocouplers that simulate buttons for a second Arduino board that control a homemade system for my rolling shutter.
The idea is to have only one Arduino board.I am a newbie in sketches modifications and I would like to have your opinion before to have problems, so, thank you for your help.
-
Sounds possible. Just try it, and enjoy learning.
1 out of 2
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
Adding Listen only device to my system.
Development • 26 Feb 2025, 00:39 • dpcons 26 Feb 2025, 06:26 -
LAN8720A - will mysensors work with this module
Development • 13 Nov 2024, 17:06 • Marcin 15 Nov 2024, 10:59 -
Home Assistant/MySensors quirks
Development • 17 Mar 2025, 02:35 • OldSurferDude 17 Mar 2025, 02:35 -
Radio waking up for no reason.
Development • 4 Jul 2020, 21:09 • Sasquatch 15 Jan 2025, 08:33 -
PJON and Minicore not working
Development • 21 Mar 2025, 19:51 • Trand 21 Mar 2025, 19:51