hi
i upload file Breath-Injector-ProMicroArcore.ino to my Arduino pro micro
but not compiling successful
this is error :
C:\Users\Pro Book\Desktop\New folder (10)\MIB-master\MIB-master\Breath-Injector-ProMicroArcore\Breath-Injector-ProMicroArcore.ino: In function 'void controlChange(byte, byte, byte)':
Breath-Injector-ProMicroArcore:163:3: error: 'MIDIEvent' was not declared in this scope
MIDIEvent event = {0x0B, 0xB0 | channel, control, value};
^~~~~
Breath-Injector-ProMicroArcore:164:3: error: 'MIDIUSB' was not declared in this scope
MIDIUSB.write(event);
^~~
C:\Users\Pro Book\Desktop\New folder (10)\MIB-master\MIB-master\Breath-Injector-ProMicroArcore\Breath-Injector-ProMicroArcore.ino:164:3: note: suggested alternative: 'MIDI'
MIDIUSB.write(event);
^~~
MIDI
Breath-Injector-ProMicroArcore:164:17: error: 'event' was not declared in this scope
MIDIUSB.write(event);
^~~~~
C:\Users\Pro Book\Desktop\New folder (10)\MIB-master\MIB-master\Breath-Injector-ProMicroArcore\Breath-Injector-ProMicroArcore.ino: In function 'void channelAT(byte, byte)':
Breath-Injector-ProMicroArcore:168:3: error: 'MIDIEvent' was not declared in this scope
MIDIEvent event = {0x0D, 0xD0 | channel, value};
^~~~~
Breath-Injector-ProMicroArcore:169:3: error: 'MIDIUSB' was not declared in this scope
MIDIUSB.write(event);
^~~
C:\Users\Pro Book\Desktop\New folder (10)\MIB-master\MIB-master\Breath-Injector-ProMicroArcore\Breath-Injector-ProMicroArcore.ino:169:3: note: suggested alternative: 'MIDI'
MIDIUSB.write(event);
^~~
MIDI
Breath-Injector-ProMicroArcore:169:17: error: 'event' was not declared in this scope
MIDIUSB.write(event);
^~~~~
exit status 1
'MIDIEvent' was not declared in this scope
hi i upload file Breath-Injector-ProMicroArcore.ino to my Arduino pro micro but not compiling successful this is error :
C:\Users\Pro Book\Desktop\New folder (10)\MIB-master\MIB-master\Breath-Injector-ProMicroArcore\Breath-Injector-ProMicroArcore.ino: In function 'void controlChange(byte, byte, byte)': Breath-Injector-ProMicroArcore:163:3: error: 'MIDIEvent' was not declared in this scope MIDIEvent event = {0x0B, 0xB0 | channel, control, value}; ^
~~~~ Breath-Injector-ProMicroArcore:164:3: error: 'MIDIUSB' was not declared in this scope MIDIUSB.write(event); ^~~ C:\Users\Pro Book\Desktop\New folder (10)\MIB-master\MIB-master\Breath-Injector-ProMicroArcore\Breath-Injector-ProMicroArcore.ino:164:3: note: suggested alternative: 'MIDI' MIDIUSB.write(event); ^~~ MIDI Breath-Injector-ProMicroArcore:164:17: error: 'event' was not declared in this scope MIDIUSB.write(event); ^~~~~ C:\Users\Pro Book\Desktop\New folder (10)\MIB-master\MIB-master\Breath-Injector-ProMicroArcore\Breath-Injector-ProMicroArcore.ino: In function 'void channelAT(byte, byte)': Breath-Injector-ProMicroArcore:168:3: error: 'MIDIEvent' was not declared in this scope MIDIEvent event = {0x0D, 0xD0 | channel, value}; ^~~~~ Breath-Injector-ProMicroArcore:169:3: error: 'MIDIUSB' was not declared in this scope MIDIUSB.write(event); ^~~ C:\Users\Pro Book\Desktop\New folder (10)\MIB-master\MIB-master\Breath-Injector-ProMicroArcore\Breath-Injector-ProMicroArcore.ino:169:3: note: suggested alternative: 'MIDI' MIDIUSB.write(event); ^~~ MIDI Breath-Injector-ProMicroArcore:169:17: error: 'event' was not declared in this scope MIDIUSB.write(event); ^~~~~ exit status 1 'MIDIEvent' was not declared in this scope