Aircoookie / WLED

Control WS2812B and many more types of digital RGB LEDs with an ESP8266 or ESP32 over WiFi!
https://kno.wled.ge
MIT License
14.62k stars 3.14k forks source link

WLED Ambilight over USB for Dummies [Solution] #1769

Closed TarFilarek closed 3 years ago

TarFilarek commented 3 years ago

Hi! Some time ago I've opened a thread concerning WLED Ambilight over USB.

Previously, my Wemos D1 Pro was connected with LED Strip via gpio 3 (RX) in accordance with this line of Your code: #define LEDPIN 2 //strip pin. Any for ESP32, gpio2 or 3 is recommended for ESP8266 (gpio2/3 are labeled D4/RX on NodeMCU and Wemos) Everything worked great except for the Ambilight. I simply couldn't make it work.

After trying everything I could I've decided to resolder the data cable to gpio 2 (D4) and Ambilight started to work instantly (obviously after re-uploading the code). I don't know if that is common knowledge here, maybe I've missed the note that this gpio won't work with that function, but if not - I think that such a note could be featured in the Wiki to prevent others from making the same mistake as I did.

Once again - Thank You for this amazing project!

All the best Przechwytywanie

blazoncek commented 3 years ago

Not a bug. RX pin (GPIO3) is used for serial connection (receiving Adalight data). Admittedly this should be noted in the comment. You can close this issue.