Arduino code for a midi controller I'm building