I am reading MIDI data using Nick Gammon’s MIDI_decoder sketch on a ProMini168 (the 3V type) running at 8 mhz. The sketch assumes a 16 mhz clock.
The sketch is fine - well, it’s working quite well, but clearly can’t “get” all the data, for instance I don’t get NoteOn’s, but I get NoteOff’s, program changes etc, there’s generally just some data missing.
Is there a variable I can change here to get it working? - I tried the MIDI baud rate to half, but NoGo of course - but I couldn’t see anything else I could change.
So I think the question resolves down to "How do you get a 16mhz sketch to run on a 8 mhz processor?