Arduino Simon Says with Midi Controller

2017-04-21 11:45:44

I altered code for the Simple Simon says to work with a Midi controller instead of push buttons. i am having trouble with the input of the song sequence with the Midi Controller. during the time where the code is waiting for input from the Midi controller waitForButton(int delay) the notes being inputted should sound but it dose not . i need help in figuring this out. any advice would be appreciated. Here's my code :