Can WLED be easily modified to allow 2 simultaneous button presses to trigger a new effect? For instance,
No buttons pressed= Green
Button 1 pressed= Red
Button 2 pressed= Blue
Button 1 + Button 2 pressed= Purple
Thanks
Can WLED be easily modified to allow 2 simultaneous button presses to trigger a new effect? For instance,
No buttons pressed= Green
Button 1 pressed= Red
Button 2 pressed= Blue
Button 1 + Button 2 pressed= Purple
Thanks
Look for a binary-input post in this forum.
Thanks! I found this post, is this the one your were thinking of?
Exactly.
It doesn’t look like this ever became a usermod and I’m not sure the OP is still active.
Can someone explain where his example code would need to be placed to work? Or has anyone been successful at reproducing this?
You would add it to a new usermod. See usermod folder in code for docs.
No other files would need modified? or is his code just giving an example of how to do it an you need to rename the variables?
That would be the main loop of the usermod.