Been working on something for a while which works, but I would like to add some extraneous functionality of a bank button to give me 10 other options when I have a switch engaged.
Currently my code is (simply)
If Button pressed, Delay, Send a midi pc command Turn all led off Light corresponding led to button
Else if button 2 pressed
What I would like help on is to make the small buttons send a different pc message with an external switch engaged.
So new code would go something like
If button 1 pressed and extsw high
Send pc 10
If button 1 pressed and extsw low
Send pc 1
I've read a few bits handout && and else if but it's not totally clear