arpruss / USBComposite_stm32f1

USB Composite library for STM32F1 (HID, Serial, MIDI and XBox360 controller)
Other
381 stars 76 forks source link

midiUSB.sendPitchChange(channel - 1, pitch); doesn't compile #87

Open jhsa opened 3 years ago

jhsa commented 3 years ago

class myMidi : public USBMIDI { //--------------------------------------------- myMidi midiUSB; USBCompositeSerial CompositeSerial;

//----------------------------------- Setup

USBComposite.setProductId(0x0030); midiUSB.registerComponent(); CompositeSerial.registerComponent(); USBComposite.begin();

Error is:

"exit status 1 no matching function for call to 'myMidi::sendPitchChange(int, int)'"

Thanks for your help.