So I am super new to this whole programming thing and you could definitely say that I am self taught. I am trying to make a BLE MIDI controller using the Adafruit Feather 32u4. I want to setup 15 buttons to send midi data and I got everything working with one button. I then just basically copy pasted what I had for one button for 15 and everything still works, however there is a considerable amount of latency.
My guess is that my void loop is too long with all the switch cases for each button (if I delete just those multiple sections and leave only one button then there is no discernible latency).
Consolidating the switch case down is above my pay grade so I am at a loss…