OK, I've modified the code to allow changing of scan speeds.
I also believe I've figured out the problem with the stuck notes.
Basically, when the harp is in Ready mode, the serial baudrate is setup ready to communicate with the note bank programmer. When you press the button to open the harp, it has to change the baudrate to the correct MIDI rate. However, I had a feeling that it was probably trying to send the note too quickly after changing the baud rate. I'm not actually having any notes get stuck when opening, however the last note when closing does get stuck, and I've managed to fix it with a small delay.
I just need to figure out how I'm going to update your chips. I've put a fair bit of time and effort into this code, so I'm quite hesitant and sending it out to people and risk having it leaked. Like I said, I'll have a talk to csshih about possibly offering an upgrade service
Cheers,
Dan