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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login