Reply To: Driver error / Compilation errors

Home Forums Products NS1nanosynth Driver error / Compilation errors Reply To: Driver error / Compilation errors

#2052

mariusblomstervik
Participant

Im also having trouble getting past the “MIDIUSB was not declared in this scope”-error. The other sketches works fine, but I would like to get back the ability to play with midi, and reinstall the original firmware.

I have tried both old and new versions of arduino but get the same error always. I have downloaded and installed libraries like dac_mcp49xx(https://github.com/exscape/electronics), mozzi(https://github.com/sensorium/Mozzi), ardcore(https://github.com/rkistner/arcore) on my way to resolve error after error. But now Im stuck on the MIDIUSB-error.

Anyone have any ideas on how to move past this error?

Here is the exact error message:
“Arduino:1.6.11 (Mac OS X), Kort”Arduino Leonardo”

/Users/mariusblomstervik/Documents/NS1nanosynth_sketches-master/NS1NANOSYNTH_BASE_NO_DIGIPOT/NS1NANOSYNTH_BASE_NO_DIGIPOT.ino: In function ‘void updateControl()’:
NS1NANOSYNTH_BASE_NO_DIGIPOT:71: error: ‘MIDIUSB’ was not declared in this scope
while(MIDIUSB.available() > 0) {
^
NS1NANOSYNTH_BASE_NO_DIGIPOT:73: error: ‘MIDIEvent’ was not declared in this scope
MIDIEvent e;
^
NS1NANOSYNTH_BASE_NO_DIGIPOT:74: error: ‘e’ was not declared in this scope
e = MIDIUSB.read();
^
exit status 1
‘MIDIUSB’ was not declared in this scope”