FabLabRothenburg / wordclock

Arduino Firmware for Word Clocks
5 stars 3 forks source link

red and green is mixed up #5

Closed dodasch closed 5 years ago

dodasch commented 5 years ago

the red and the green value in the wordclock configuration is mixed up. So if i want to have red led's i have to set the green value to 255.

stesie commented 5 years ago

well, yes and no.

I agree that it is not currently configurable. The problem is that there are different WS2812 led strips. Those with RGB coding and those with GRB coding. So if you e.g. use the (kind of default) DisplayDriverFablabNeaClock driver, you will find the strip config in DisplayDriverFablabNeaClock.h right in line 12. Just change NEO_RGB for NEO_GRB. I've got different strips myself, so yes it's annoying...

dodasch commented 5 years ago

Okay, i toght that that it has to be a problem with the strips. But it works :)