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
{{ message }}
This repository has been archived by the owner on Aug 25, 2023. It is now read-only.
Has anyone successfully used hairless-midi with an ESP32 on Windows 10?
I'm not having luck with either the old ardumidi library or the new ArduinoMidi library.
In the older ardumidi.h library it throws a compile error: ardumidi.cpp:60:30: error: 'BYTE' was not declared in this scope
I was able to fix this by removing the last 'BYTE' parameter from the Serial.print call.
However I just get Error: got unexpected data byte 0x30. over and over in Hairless Midi
If I use the newer Arduino Midi library I'm getting absolutely no serial output at all, I feel like I may be missing something here:
#include <MIDI.h>
// Create and bind the MIDI interface to the default hardware Serial port
//MIDI_CREATE_DEFAULT_INSTANCE();
MIDI_CREATE_INSTANCE(HardwareSerial, Serial, MIDI);
void setup() {
MIDI.begin(MIDI_CHANNEL_OMNI); // Listen to all incoming messages
Serial.begin(115200);
}
void loop() {
MIDI.sendNoteOn(1, 127, 1);
//MIDI.read();
delay(1000);
}
The text was updated successfully, but these errors were encountered:
I have made progress with the old ardumidi library.
To fix compile errors in ardumidi.cpp replace the Serial.print() with Serial.write() and remove the BYTE parameter
I was going to make a pull request to fix this, but I realized its already fixed in the github repository. I must have used ardumidi that came bundled with the download from https://projectgus.github.io/hairless-midiserial/
Maybe its a good idea to update the downloadable zip files with the fixed ardumidi library
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Has anyone successfully used hairless-midi with an ESP32 on Windows 10?
I'm not having luck with either the old ardumidi library or the new ArduinoMidi library.
In the older ardumidi.h library it throws a compile error:
![image](https://user-images.githubusercontent.com/327726/177212476-20b6bebb-b197-40e6-aeea-84a829647977.png)
ardumidi.cpp:60:30: error: 'BYTE' was not declared in this scope
I was able to fix this by removing the last 'BYTE' parameter from the Serial.print call.
However I just get
Error: got unexpected data byte 0x30.
over and over in Hairless MidiIf I use the newer Arduino Midi library I'm getting absolutely no serial output at all, I feel like I may be missing something here:
The text was updated successfully, but these errors were encountered: