Changing setIndication behavior
-
Hello.
How I can change default RX/TX LED blink behavior without modifying MySensors library? I'm talking about serial gateway. Gateway always blink RX and TX LEDs together just because gateway receives (RX) data from serial port and immediately sends (TX) this data to radio network. The same problem happens then gateway receives data from radio.
I just want to blink RX led then something received from radio network and blink TX led then something sent to radio network.
if ((INDICATION_TX == ind) || (INDICATION_GW_TX == ind)) { ledsBlinkTx(1); } else #endif #if defined(MY_DEFAULT_RX_LED_PIN) if ((INDICATION_RX == ind) || (INDICATION_GW_RX == ind)) { ledsBlinkRx(1); } else #endif
1 out of 1
Suggested Topics
-
RGBW LED strip current
Hardware • 15 Nov 2014, 13:04 • jocke4u 15 Nov 2014, 13:04 -
All in one board with apple phone charger brick wrap.
Hardware • 13 Jan 2015, 16:58 • destos 18 Apr 2015, 14:53 -
RGBW LED Controller
OpenHardware.io • 26 Jan 2016, 14:35 • openhardware.io 20 Mar 2016, 16:51 -
Is MySensors relevant for this project pitch
General Discussion • 20 Oct 2017, 16:45 • od1 22 Oct 2017, 18:38 -
💬 MySensor Dioder (Ikea)
OpenHardware.io • 5 Jun 2016, 13:07 • openhardware.io 13 Dec 2016, 16:17 -
💬 RGB Led Strip Board (MysX)
OpenHardware.io • 6 Apr 2018, 08:53 • openhardware.io 30 Jun 2018, 19:39 -
Car battery health monitoring and alerts system with IoT integration
My Project • 7 Jan 2021, 20:57 • William Meli 10 Jan 2021, 11:51