-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Led's not lighting up #75
Comments
More information would be useful. |
{"HOSTNAME":"McLightingRGBW","version":"3.1.0","heap":19248,"sketch_size":626416,"free_sketch_space":1470464,"flash_chip_size":4194304,"flash_chip_real_size":4194304,"flash_chip_speed":40000000,"sdk_version":"2.2.2-dev(38a443e)","core_version":"2_6_3","cpu_freq":80,"chip_id":1458208,"animation_lib":"WS2812FX_DMA","ws2812_pin":3,"led_count":50,"rgb_order":"GRBW","rgbw_mode":"ON","button_mode":"OFF","button_gy33":"OFF","ir_remote":"ON","tsop_ir_pin":13,"mqtt":"AMQTT","home_assistant":"ON","ota":"HTTP","state_save":"SPIFFS"} |
Ok, so you use an RGBW Strip (maybe SK6812) connected to GPIO03 which is the RX Pin, right? |
no, I have a ws2812 on D4. I change in the definitions.h the #define LED_PIN 2. Even on the web UI it shows pin 3 and it cannot be change. Not sure what I do wrong :( |
#define USE_WS2812FX_DMA 2 // 0 = Used PIN is ignored & set to RX/GPIO3; 1 = Used PIN is ignored & set to TX/GPIO1; 2 = Used PIN is ignored & set to D4/GPIO2; Uses WS2812FX, see: https://github.com/kitesurfer1404/WS2812FX #define ENABLE_OTA 1 // If defined, enable Arduino OTA code. If set to 0 enable Arduino OTA code, if set to 1 enable ESP8266HTTPUpdateServer OTA code. //#define ENABLE_BUTTON 14 // If defined, enable button handling code, see: https://github.com/toblum/McLighting/wiki/Button-control, the value defines the input pin (14 / D5) for switching the LED strip on / off, connect this PIN to ground to trigger button. #if defined(ENABLE_BUTTON_GY33) #define ENABLE_STATE_SAVE // If defined, load saved state on reboot and save state on SPIFFS #define CUSTOM_WS2812FX_ANIMATIONS // uncomment and put animations in "custom_ws2812fx_animations.h" #define TRANS_COLOR_DELAY 5 // Delay for color transition |
GPIO02 is probably used by LED_BUILTIN |
Thank you very much. I manage to make it work. Below is the definitions.h that worked for me. I use pin D6 //#define USE_WS2812FX_DMA 0 // 0 = Used PIN is ignored & set to RX/GPIO3; 1 = Used PIN is ignored & set to TX/GPIO1; 2 = Used PIN is ignored & set to D4/GPIO2; Uses WS2812FX, see: https://github.com/kitesurfer1404/WS2812FX #define ENABLE_OTA 1 // If defined, enable Arduino OTA code. If set to 0 enable Arduino OTA code, if set to 1 enable ESP8266HTTPUpdateServer OTA code. //#define ENABLE_BUTTON 14 // If defined, enable button handling code, see: https://github.com/toblum/McLighting/wiki/Button-control, the value defines the input pin (14 / D5) for switching the LED strip on / off, connect this PIN to ground to trigger button. #if defined(ENABLE_BUTTON_GY33) #define ENABLE_STATE_SAVE // If defined, load saved state on reboot and save state on SPIFFS #define CUSTOM_WS2812FX_ANIMATIONS // uncomment and put animations in "custom_ws2812fx_animations.h" #define TRANS_COLOR_DELAY 5 // Delay for color transition |
I install it more devices, try with different LED strips but not working
The web UI is working.
The text was updated successfully, but these errors were encountered: