Replies: 3 comments
-
|
I just found something in this pull request (https://github.com/tttapa/Control-Surface/pull/1122/changes): Well now the errors for identifier not found are gone, when i compile and upload it goes through, but no MIDI device shows up in device manager. |
Beta Was this translation helpful? Give feedback.
-
|
Platformio does not support the required versions of the arduino-esp32 core (>=3.0.0). There doesn't seem to be any plan to add support either, see e.g. platformio/platform-espressif32#1225, so you may want to try the Arduino IDE instead. |
Beta Was this translation helpful? Give feedback.
-
|
Ok but can you tell me if i did the setup right for sending Program Change commands? // This is Arduino IDE
#include <Control_Surface.h>
USBMIDI_Interface midi;
// All pushbuttons are connected to GND
PCButton btn1 {
// Push button on pin 4:
4,
// PC0 on MIDI channel 1:
{0, Channel_1},
};
PCButton btn2 {
// Push button on pin 5:
5,
// PC1 on MIDI channel 1:
{1, Channel_1},
};
void setup() {
Control_Surface.begin();
}
void loop() {
Control_Surface.loop();
}Because even tho the device does show up, when i press a button nothing happens. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I want to build a Preset Change pedal board for Amplitube5 (works by sending ProgrammChange Commands) using my Arduino Nano ESP32, because it can do native USB and i have it lying around.
I have seen on your support list (https://tttapa.github.io/Control-Surface/Doxygen/d8/d4a/md_pages_MIDI-over-USB.html) that you have implementet MIDIUSB but not yet tesetd it.
Well i tried to setup a simple 2 button programm that sends PC0 and PC1, depending on what button i press (I'm not 100% sure if i did it right):
Now the problem is:
I also only got it working when i switched to Arduino IDE. Before that i have been working on PlatformIO with VSCode but there the problem is that the library does not work at all.
platformio.ini:
beginning of main.cpp:
and when i hover over USBMIDI_Interface i get this:
I have digged through the files and it is because of this (USBMIDI.h):
USBCON is not defined. I tried to define it before including Control_Surface.h and now the identifiers work but:
in file USBMIDI_MIDIUSB.hpp the #include <MIDIUSB.h> is not working.
I don't know if this is relevant but i thought I'd include my findings.
Cheers
Beta Was this translation helpful? Give feedback.
All reactions