I am attempting to use FastLED and Button Master library (renamed Button) and different then the Button library found in library manager to utilize 4 buttons to trigger different patterns. My code thus far:
At the bottom of the code I have populated some attempts (none are working) to get the strip to do something when a button is pressed, for example:
if(myButtonD.wasPressed()) {
leds[1].setRGB( 0, 255, 225);
FastLED.show();
delay(30);
//D was pressed so set a variable or do something
}
Any help appreciated at getting these 4 buttons working.