summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2023-10-12 14:54:30 +0200
committerJonas Smedegaard <dr@jones.dk>2023-10-12 14:54:30 +0200
commit1ab429eefb9bca0967e110099d5386eb9a1f9619 (patch)
treeaf76fc82b122cb48ad35159bad9d5b58bf7352e7
parentd5d731072c0679acee2593cf909acfe6775f3417 (diff)
fix FastLED pin for ESP32
-rw-r--r--main.ino3
1 files changed, 2 insertions, 1 deletions
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