GatewaySerial not receiving data with MY_WITH_LEDS_BLINKING_INVERSE
I just tried to compile a GatewaySerial (Developmen branch) (https://github.com/mysensors/Arduino/blob/development/libraries/MySensors/examples/GatewaySerial/GatewaySerial.ino) with MY_WITH_LEDS_BLINKING_INVERSE enabled. It compiles but the Gateway can't receive any data, uncommenting this line and recompiling solve this issues. So it must be this function.
Github Issue: https://github.com/mysensors/Arduino/issues/368
I had this issue as well. Solved it but using other pins for led.
Sadly I can't change the pins as easy as I want because I'm using a PCB. I'm trying to use:
D4 = ERROR
D7 = TX
D9 = RX
Using D7 for TX is working properly, only if I'm changing the other values. The gateway isn't working anymore.
D9 = RX
In default radio connection (see https://www.mysensors.org/build/connect_radio) D9 is used to connect the CE line of the nRF24 radio.
If you use the same pin this will cause conflicts.