P Pitag Member Licensed User Longtime User Aug 26, 2024 #1 Hi all, i'm trying to test Neopixel library with an ESP32 D1 Mini, with a very simple code. I connected the data pin of the strip led (5 leds) to the pin GPIO16. The code is the following Code: Copy pixel.Initialize(5,16,pixel.NEO_GRB) pixel.SetPixelColor(1, 255, 0, 0) the program compiles without errors, i'im expecting the led 1 turn to red (rgb 255,0,0) but nothing happens, the strip remains completely powered off. ESP32 and led strip are powered from the same 5v source. the same program, with an esp8266 d1 mini, works correctly. Code: Copy pixel.Initialize(5, d1pin.D2, pixel.NEO_GRB) pixel.SetPixelColor(1, 255, 0, 0) Which is the problem??? an incompatibility with esp32 chipset? i tryed 2 different types of esp32 but i had no success. Am I using an incorrect pin?
Hi all, i'm trying to test Neopixel library with an ESP32 D1 Mini, with a very simple code. I connected the data pin of the strip led (5 leds) to the pin GPIO16. The code is the following Code: Copy pixel.Initialize(5,16,pixel.NEO_GRB) pixel.SetPixelColor(1, 255, 0, 0) the program compiles without errors, i'im expecting the led 1 turn to red (rgb 255,0,0) but nothing happens, the strip remains completely powered off. ESP32 and led strip are powered from the same 5v source. the same program, with an esp8266 d1 mini, works correctly. Code: Copy pixel.Initialize(5, d1pin.D2, pixel.NEO_GRB) pixel.SetPixelColor(1, 255, 0, 0) Which is the problem??? an incompatibility with esp32 chipset? i tryed 2 different types of esp32 but i had no success. Am I using an incorrect pin?
P Pitag Member Licensed User Longtime User Aug 26, 2024 #2 I (think that i) found the problem. I reinstalled the library from this post, and tried the attached example. Now all seems to work correctly rAdafruitNeoPixel (based on neopixel lib V1.3.1) Hello, i Have modified the rAdafruit Neopixel Library and added some new features (@Erel hope this is ok for you?) This Library is Based on https://github.com/adafruit/Adafruit_NeoPixel V. 1.3.1 I Have test this Library with the ESP 8266 and i Hope it will work on other Platforms too! See the... www.b4x.com Upvote 1
I (think that i) found the problem. I reinstalled the library from this post, and tried the attached example. Now all seems to work correctly rAdafruitNeoPixel (based on neopixel lib V1.3.1) Hello, i Have modified the rAdafruit Neopixel Library and added some new features (@Erel hope this is ok for you?) This Library is Based on https://github.com/adafruit/Adafruit_NeoPixel V. 1.3.1 I Have test this Library with the ESP 8266 and i Hope it will work on other Platforms too! See the... www.b4x.com