Page 1 of 1
Midi Wing not working with ESP32 v2
Posted: Wed Jan 18, 2023 11:12 pm
by 17dixn
I'm not quite sure if this is the right board, but I have an esp32 v2 feather and a midi wing, and the example code just does not work for input or output. The input LED lights up, so I know the wing is getting midi in, but I can't for the life of me figure out why it won't send or receive info to the esp32.
I have inspected all the solders and they all have connections, is there something else I could be missing?
Re: Midi Wing not working with ESP32 v2
Posted: Thu Jan 19, 2023 11:11 am
by bidrohini
Which library are you using?
Re: Midi Wing not working with ESP32 v2
Posted: Thu Jan 19, 2023 12:29 pm
by 17dixn
arduino MIDI library like the guide says. Copy pasting example code and also just running the include lib examples for testing, neither seem to work
Re: Midi Wing not working with ESP32 v2
Posted: Thu Jan 19, 2023 1:46 pm
by adafruit_support_carter
You're following this example?
https://learn.adafruit.com/adafruit-mid ... di-example
What board are you selecting in the Arduino IDE?
Re: Midi Wing not working with ESP32 v2
Posted: Thu Jan 19, 2023 2:15 pm
by 17dixn
yes that's the guide. I'm using the ESP32 V2 and selecting it in the IDE. It works perfectly fine with various stemma i2c sensors and a display in SPI mode. I've even gotten AppleMIDI to work while I was waiting on this wing.
Re: Midi Wing not working with ESP32 v2
Posted: Thu Jan 19, 2023 2:18 pm
by adafruit_support_carter
I have an esp32 v2 feather
You need to select
Adafruit Feather ESP32 V2 in the board list.
Re: Midi Wing not working with ESP32 v2
Posted: Thu Jan 19, 2023 2:22 pm
by 17dixn
That is the one I'm selecting, apologies for being vague. I've gotten plenty of other examples loaded and working, this is the first part that I can't figure out.
Re: Midi Wing not working with ESP32 v2
Posted: Thu Jan 19, 2023 2:39 pm
by adafruit_support_carter
Try changing this line:
to:
Code: Select all
MIDI_CREATE_INSTANCE(HardwareSerial, Serial1, MIDI);
Re: Midi Wing not working with ESP32 v2
Posted: Thu Jan 19, 2023 2:44 pm
by 17dixn
That was the fix needed. Thanks for your help!