toblum / McLighting

The ESP8266 based multi-client lighting gadget
MIT License
1.05k stars 291 forks source link

can't change green to red #367

Open Gintazas opened 5 years ago

Gintazas commented 5 years ago

hi every one. i am new on arduino espacialy on led control. i use w2812b led strip. upload done, but in Mc Lightning UI (when strip start) is green, but have to be red. Can't find where replace color green to red. Change RGB to GRB in // WS2812FX strip = WS2812FX(NUMLEDS, PIN, NEO_RGB + NEO_KHZ800); do not take effect - still green where have to be red Other moments: strobe rainbow(27) mode on Mc Lightning UI have only strobe effent only - isnt rainbow together RUNING RANDOM, E131(E131)no reaction. How to add to CUSTOM effect? i would like to add voice command control by arduino microphone direcly Thanks for help

debsahu commented 5 years ago

Use this ref: https://github.com/toblum/McLighting/wiki/HTTP-REST-API#get-pixelconf-http10

Change RGB order to GRB: on browser type http://<IP_ADDRESS_OF_ESP8266>/pixelconf?rgbo=grb

Running Random: Change the speed E131: SACN E1.31 ref >> https://www.youtube.com/watch?v=lZ09GlO2_8s Custom effect: Add to this library https://github.com/toblum/McLighting/blob/master/Arduino/McLighting/custom_ws2812fx_animations.h Voice: Very difficult to process in real time ADC values on Arduino-ESP8266, you could use MSGEQ7 or something or crude ADC values for color flipping.