You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#include<Arduino.h>
#include<Control_Surface.h>// Include the Control Surface library// The MIDI over USB interface to use
USBMIDI_Interface midi;
// MIDI note number, channel, and velocity to useconst MIDIAddress address {60, Channel_1};
constuint8_t velocity = 127;
voidsetup()
{
midi.begin(); // Initialize the MIDI interface
}
voidloop()
{
midi.sendNoteOn(address, velocity);
delay(500);
midi.sendNoteOff(address, velocity);
delay(500);
midi.update(); // Handle or discard MIDI input
}
The text was updated successfully, but these errors were encountered:
Describe the bug
I followed MIDI-Output example and the code compiles and updated without any issue. But my ESP-32 doesn't show as midi device.
platformio.ini file
Code
The text was updated successfully, but these errors were encountered: