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
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.
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?
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
B4X:
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.
B4X:
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?