Hello,
I am using an Arduino Micro on a OS X Sierra with the latest & greatest arduino software.
I'm trying to make a MIDI controller with two pots and two buttons using code from a guy named Musico Nerd. The issue is that somewhere between; Hairless MIDI <--> Serial Bridge; an error is caused in Hairless when I push the buttons, and nothing happens when I turn the potentiometers:
Error: got an unexpected data byte 0x72.
Error: got an unexpected data byte 0x75.
Error: got an unexpected data byte 0x74.
Error: got an unexpected data byte 0x74.
Error: got an unexpected data byte 0x6f.
Error: got an unexpected data byte 0x6e.
Error: got an unexpected data byte 0x3a.
Error: got an unexpected data byte 0x20.
Error: got an unexpected data byte 0x31.
Error: got an unexpected data byte 0x34.
Error: got an unexpected data byte 0x34.
Error: got an unexpected data byte 0x37.
Error: got an unexpected data byte 0x32.
Error: got an unexpected data byte 0x31.
Error: got an unexpected data byte 0x32.
Error: got an unexpected data byte 0x37.
Error: got an unexpected data byte 0x42.
Error: got an unexpected data byte 0x75.
Error: got an unexpected data byte 0x74.
Error: got an unexpected data byte 0x74.
Additionally, turning my pots does not bring up any of these errors, so it shows no signs of my computer picking it up. I'm confident that my circuit is set up correctly.
I have not written the code for this project, and my coding knowledge is limited. However, I have tried the following after googling the error messages:
-
Changing the Variation Threshold in line 53.
-
Changing the 'print' in lines 110 and 122 to 'write' because that helped someone else with the same problem fix their code
I really have no clue how else I could fix this. Any suggestions would be much appreciated.
Attached is my code.
Thank you,
Jeff
TestController.ino (6.62 KB)