Add support for RX/TX/ERR leds to RPi

This commit is contained in:
Marcelo Aquino
2016-09-26 17:40:18 -03:00
parent fab2112f9b
commit 6d47c33ad8
2 changed files with 16 additions and 0 deletions
+11
View File
@@ -50,6 +50,17 @@
//#define MY_MQTT_USER "username"
//#define MY_MQTT_PASSWORD "password"
// Flash leds on rx/tx/err
//#define MY_LEDS_BLINKING_FEATURE
// Inverse the blinking feature
//#define MY_WITH_LEDS_BLINKING_INVERSE
// Set blinking period
//#define MY_DEFAULT_LED_BLINK_PERIOD 300
// Led pins used if blinking feature is enabled above
#define MY_DEFAULT_ERR_LED_PIN 12 // Error led pin
#define MY_DEFAULT_RX_LED_PIN 16 // Receive led pin
#define MY_DEFAULT_TX_LED_PIN 18 // the PCB, on board
#include <MySensors.h>