Control-Surface icon indicating copy to clipboard operation
Control-Surface copied to clipboard

fastled showing bank status

Open schwingung opened this issue 3 years ago • 1 comments

hi,

is it possible to show the bank status with neopixel led`s.

example: 5 neopixel green = bank 1, the same 5 neopixel red = bank 2

thank you for your help

schwingung avatar Dec 28 '20 23:12 schwingung

Not directly, but you can always call Bank::getSelection() to get the current bank setting, and update the LEDs yourself in your main loop.

When the first bank is selected, Bank::getSelection() returns 0, when the nth bank is selected, it returns n-1.

tttapa avatar Dec 28 '20 23:12 tttapa