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
Hi, I'm having trouble compiling this simple MIDI test sketch for the ESP32-S2.
After trying different settings and library versions for some hours I made a fresh install of Arduino IDE, installed only esp32 (boards by Expressif V2.0.14) and the TinyUSB library V2.3.1, but no success.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I'm having trouble compiling this simple MIDI test sketch for the ESP32-S2.
After trying different settings and library versions for some hours I made a fresh install of Arduino IDE, installed only esp32 (boards by Expressif V2.0.14) and the TinyUSB library V2.3.1, but no success.
`#include <Arduino.h>
#include <Adafruit_TinyUSB.h>
#include <MIDI.h>
Adafruit_USBD_MIDI usb_midi;
MIDI_CREATE_INSTANCE(Adafruit_USBD_MIDI, usb_midi, MIDI);
void setup()
{
pinMode(15, OUTPUT);
MIDI.begin(MIDI_CHANNEL_OMNI);
while( !TinyUSBDevice.mounted() ) delay(1);
}
void loop()
{
MIDI.sendNoteOn(64, 127, 1);
digitalWrite(15, HIGH);
delay(1000);
MIDI.sendNoteOff(64, 0, 1);
digitalWrite(15, LOW);
delay(1000);
}`
Here are the compiler errors:
Compiler errors.txt
Here are my board upload settings:
Any ideas are appreciated, thanks!
Beta Was this translation helpful? Give feedback.
All reactions