hi,
thanks for your reply, I'm sure this is just me but I'm sure just setting the baud rate to 31250, it doesn't automatically route the output message to the rx and tx pins on the arduino.
marcjwebb:
hi,
thanks for your reply, I'm sure this is just me but I'm sure just setting the baud rate to 31250, it doesn't automatically route the output message to the rx and tx pins on the arduino.
any ideas???
thanks
marc
Are you sure you want to involve the rx pin as well? If so, may I ask why? Please note that the linked tutorial contains code and schematics, with wires going from Arduino pins to MIDI jack pins. Did you try any of it or just glanced at the baud rate?
To send data (of any kind) to the PC you use Serial ie Serial.print/Serial.write. Serial uses the Tx pin (pin 1?) to send and the Rx pin to recive and that's it! No magic no complications its done.
The IDE creates Serial and hooks it up with the Rx and Tx pins. Job done!
marcjwebb:
thanks for your reply, I'm sure this is just me but I'm sure just setting the baud rate to 31250, it doesn't automatically route the output message to the rx and tx pins on the arduino.
On the Uno, Serial automatically uses pins D0 and D1, so you don't have to tell it. You just tell it the baud rate.