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?
Midi Wing not working with ESP32 v2
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- bidrohini
- Posts: 202
- Joined: Thu Oct 20, 2022 10:03 am
Re: Midi Wing not working with ESP32 v2
Which library are you using?
- 17dixn
- Posts: 5
- Joined: Tue Jan 03, 2023 9:51 pm
Re: Midi Wing not working with ESP32 v2
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
- adafruit_support_carter
- Posts: 30207
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Midi Wing not working with ESP32 v2
You're following this example?
https://learn.adafruit.com/adafruit-mid ... di-example
What board are you selecting in the Arduino IDE?
https://learn.adafruit.com/adafruit-mid ... di-example
What board are you selecting in the Arduino IDE?
- 17dixn
- Posts: 5
- Joined: Tue Jan 03, 2023 9:51 pm
Re: Midi Wing not working with ESP32 v2
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.
- adafruit_support_carter
- Posts: 30207
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Midi Wing not working with ESP32 v2
You need to select Adafruit Feather ESP32 V2 in the board list.I have an esp32 v2 feather
- 17dixn
- Posts: 5
- Joined: Tue Jan 03, 2023 9:51 pm
Re: Midi Wing not working with ESP32 v2
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.
- adafruit_support_carter
- Posts: 30207
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Midi Wing not working with ESP32 v2
Try changing this line:
to:
Code: Select all
MIDI_CREATE_DEFAULT_INSTANCE();
Code: Select all
MIDI_CREATE_INSTANCE(HardwareSerial, Serial1, MIDI);
- 17dixn
- Posts: 5
- Joined: Tue Jan 03, 2023 9:51 pm
Re: Midi Wing not working with ESP32 v2
That was the fix needed. Thanks for your help!
Please be positive and constructive with your questions and comments.