I'm making a MIDI Synth with Arduino Due.
The MIDI Device communicate with Arduino under 31250 BaudRate,and it's works fine.
But I can't setting the Serial Monitor same with 31250 baud, how can I do that? Anybody help~~ Thx!
I'm making a MIDI Synth with Arduino Due.
The MIDI Device communicate with Arduino under 31250 BaudRate,and it's works fine.
But I can't setting the Serial Monitor same with 31250 baud, how can I do that? Anybody help~~ Thx!
The serial monitor doesn't support that speed.
What's the real problem?
I wanna see the Serial.print(...) 's infomation in realtime(for debug).
The Arduino IDE does not support that speed easily. (There may be the potential for a workaround, but I am unaware of it)
Try Realterm: http://realterm.sourceforge.net/ if you have legit serial data at that baud rate that you need to read.
How does your MIDI device know the difference between debug and MIDI instructions?
AWOL:
How does your MIDI device know the difference between debug and MIDI instructions?
Nope, the MIDI Device just send message to Arduino. They must keeping the same baud under 31250.
I think maybe some other software can do that.
Thank you.
jroorda:
The Arduino IDE does not support that speed easily. (There may be the potential for a workaround, but I am unaware of it)Try Realterm: http://realterm.sourceforge.net/ if you have legit serial data at that baud rate that you need to read.
Thx, but my OS is Mac.
stormer:
Thx, but my OS is Mac.
I don't do sympathy.
Does your midi-device communicate using the first serial port ?
If not, you can use a higher baudrate, 57600 or 115200.
If it does, you could add a debug-switch, read it in setup() and set the baudrate to 31250 or a more standard baudrate, depending whether it's open or not.
I just have tried "Serial.begin(31250);" in a random sketch.
And read it with "PuTTy".
Works.