Hi guys, I found perfect code for what I want to do at the link below, but I cannot get the brightness button to work. By the way, my slight difference is LED type is declared as WS2812B (not 2811 in the code), nz number of LED is 27 (not 50), and color order is GRB (not RGB).
Other than that the code I pasted in is identical. Again, all the patterns switch beautifully, but the brightness, nada. (Note that I tested all my wiring and the switch – if I swap them the alternative switch works for pattern, again not for brightness.
Ideas? This last bit will allow me to complete my project.
https://gist.github.com/hsiboy/fe91fa561373ef964bd7