On the Advanced Gateway Options page it says that you can add radio traffic leds.
I read somewhere(?) that it is for the gateway and sensors but no mention of the repeater.
but my question, I'm in the process of hooking up a repeater, which works great by the way,
except for the traffic leds. Is it possible to add radio traffic leds to the repeater ?
here is the code part I copied from the Advanced Gateway Options page and added to the repeaternote.ino sketch. And of course made sure to follow the connection instructions.
Even reversed the whole so the leds stay on and should go off in case of transmission or error but neither versions work.
- REVISION HISTORY
- Version 1.0 - Henrik Ekblad
- Example sketch showing how to create a node that repeates messages
- from nodes far from gateway back to gateway.
- It is important that nodes that has enabled repeater mode calls
- process() frequently. Repeaters should never sleep.
// Enable debug prints to serial monitor
// Enable and select radio type attached
// Enabled repeater feature for this node
// Flash leds on rx/tx/err
// Set blinking period (in milliseconds)
#define MY_DEFAULT_LED_BLINK_PERIOD 300
#define MY_DEFAULT_ERR_LED_PIN 4
#define MY_DEFAULT_TX_LED_PIN 5
#define MY_DEFAULT_RX_LED_PIN 6
If someone can acknowledge the possibility of adding leds to the repeater i would be grateful. If yes why don't they work ?