diff options
author | Jonas Smedegaard <dr@jones.dk> | 2023-10-12 14:54:30 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2023-10-12 14:54:30 +0200 |
commit | 1ab429eefb9bca0967e110099d5386eb9a1f9619 (patch) | |
tree | af76fc82b122cb48ad35159bad9d5b58bf7352e7 | |
parent | d5d731072c0679acee2593cf909acfe6775f3417 (diff) |
fix FastLED pin for ESP32
-rw-r--r-- | main.ino | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -19,16 +19,17 @@ const byte BUTTON_PIN_MOVE = BUTTON_1; const byte BUTTON_PIN_SELECT = BUTTON_2; const byte BUTTON_PIN_ACTION = BUTTON_3; BlinkControl led(LED_PIN); +#define LEDS_PIN 12 #define SERVO_PIN 5 // see ServoEasing PinDefinitionsAndMore.h #else const byte BUTTON_PIN_MOVE = 4; const byte BUTTON_PIN_SELECT = 5; const byte BUTTON_PIN_ACTION = 2; BlinkControl led(LED_BUILTIN); // pin 13 is built-in LED on many Arduino boards +#define LEDS_PIN 6 #define SERVO_PIN 9 // see ServoEasing PinDefinitionsAndMore.h #endif -#define LEDS_PIN 6 #define LEDS_AMOUNT 10 // serial port speed |