diff --git a/led_effects.cpp b/led_effects.cpp
index 2b15d6fcf2c7325f5b35c4b14cd2073f35191a69..b2f51bfe5935107bce838b1d9f67e63fd1fe764c 100644
--- a/led_effects.cpp
+++ b/led_effects.cpp
@@ -18,12 +18,14 @@ namespace config  //TODO: Use a class instead. NightMode could then be another s
   bool night_mode = false;
 }
 
-// Adafruit NeoPixel (Arduino library for controlling single-wire-based LED pixels and strip)
-// https://github.com/adafruit/Adafruit_NeoPixel
-// Documentation : http://adafruit.github.io/Adafruit_NeoPixel/html/class_adafruit___neo_pixel.html
-
-// NeoPixels on GPIO05, aka D1 on ESP8266 or 5 on ESP32.
+#if defined(ESP8266)
+// NeoPixels on GPIO05, aka D1 on ESP8266.
 const int NEOPIXELS_PIN = 5;
+#elif defined(ESP32)
+// NeoPixels on GPIO23 on ESP32. To avoid conflict with LoRa_SCK on TTGO.
+const int NEOPIXELS_PIN = 23;
+#endif
+
 const int NUMPIXELS = 12;
 //NOTE: One value has been prepended, to make calculations easier and avoid out of bounds index.
 const uint16_t CO2_TICKS[NUMPIXELS + 1] = { 0, 500, 600, 700, 800, 900, 1000, 1200, 1400, 1600, 1800, 2000, 2200 }; // [ppm]
diff --git a/led_effects.h b/led_effects.h
index b074f53e163c309947591654ed3d827e3175207d..a8d5b590dbe2bfb8312d01982114bee7c641854f 100644
--- a/led_effects.h
+++ b/led_effects.h
@@ -3,6 +3,10 @@
 #include <Arduino.h>
 #include "util.h"
 #include "config.h"
+
+// Adafruit NeoPixel (Arduino library for controlling single-wire-based LED pixels and strip)
+// https://github.com/adafruit/Adafruit_NeoPixel
+// Documentation : http://adafruit.github.io/Adafruit_NeoPixel/html/class_adafruit___neo_pixel.html
 #include "src/lib/Adafruit_NeoPixel/Adafruit_NeoPixel.h"
 
 namespace color {