LED not working on LilyGo T-Dongle S3 (esp32-s3) #18665
-
|
I've tried the current micropython firmware (1.27.0 for ESP32-S3 Espressif ESP32-S3) and the firmware from Xinyuan-LilyGO without any luck. I even tried probing every LED port. import machine
import neopixel
import time
for pin_number in range(1, 64):
print(pin_number)
try:
pin = machine.Pin(pin_number, machine.Pin.OUT)
np = neopixel.NeoPixel(pin, 1)
np[0] = (255, 255, 255)
np.write()
time.sleep(1)
except Exception:
passAnyone have success with this hardware and micropython to control LED? |
Beta Was this translation helpful? Give feedback.
Answered by
mattytrentini
Jan 9, 2026
Replies: 1 comment 4 replies
-
|
I don't have a T-Dongle S3 handy but the LilyGo docs list the LED as an APA102, a form of programmable RGB LED (different to Neopixels). You may know APA102s by their other name, Dotstars. MicroPython has support for APA102's so the code to control it should look something like: import machine, apa102
rgb = apa102.APA102(machine.Pin(39), machine.Pin(40), 1)
rgb[0] = (255, 0, 0, 31) # set to red, full brightness
rgb.write() |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
rbeede
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't have a T-Dongle S3 handy but the LilyGo docs list the LED as an APA102, a form of programmable RGB LED (different to Neopixels). You may know APA102s by their other name, Dotstars.
MicroPython has support for APA102's so the code to control it should look something like: