From 1ab429eefb9bca0967e110099d5386eb9a1f9619 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 12 Oct 2023 14:54:30 +0200 Subject: fix FastLED pin for ESP32 --- main.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.ino b/main.ino index 6dd9248..c67a90f 100644 --- a/main.ino +++ b/main.ino @@ -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 -- cgit v1.2.3