Closed mr-dgidgi closed 6 years ago
The default Hairless baud rate is 115200 symbols/second.
(You could change it in the settings, but I recommend just changing it in Hairless, as I think it is the default.) https://github.com/tttapa/MIDI_controller/blob/90b8796f8365faf28bcfa15eab8f70336d9381d6/src/Settings/Settings.h#L10
Note that HairlessMIDI_Interface
is just a wrapper for USBSerialMIDI_Interface
:
So if you want, you can just use USBSerialMIDI_Interface
with any baud rate you wish, without having to dive into the settings.
Thanks for your quick feedback. I tried 9600 to 38400 baud but as only 9600baud was not crashing Hairless I thought it was the good baud rate. I tried 115200 and it work perfectly. Thx for the information about USBSerialMIDI_Interface
.
Description of the problem or question
When I use Hairless MIDI Serial to test my circuit it is not able to read midi data and I have strange messages like bellow :
This only append with Hairless. When I disable
HairlessMIDI_Interface
and activateUSBDebugMIDI_Interface
I'm able to see correct midi data.I'm doing it to repare a Gemini G4v controller with an arduino, my code is huge but I also tried with only one potentiometer and the issue is the same.
Steps to reproduce the problem
Connect few potentiometers to a mux use HairlessMIDI_Interface. Hairless midi serial is set to 9600baud
Hardware
Arduino board: ? Arduino MEGA 2560
Software versions:
MIDI Controller library: ? 3.0.1
Arduino IDE: ? 1.8.5 Operating System: ? Windows
Operating System version: ? 10
Full code
Steps taken to try to diagnose or solve the problem
Work properly with midi debug and serial terminal.
The goal of your project and aditional information
I'm fixing a Gemini G4v which has been connected to 12v instead of 5v. Microcontrollers are dead but button, potentiometer, mux, shift register and led are still alive. The goal is to be able to read the data from every pot/buttons of this controller and send the correct midi data to the computer.
The mux configuration is strange because some mux data output pin are connected to other mux data input in order to use less analog pin on the original configuration.