Hey guys,
I've managed to run myself into a lovely litte problem I think.
I'm working on an Arduino project, in which I hope to use
python to "understand" the MIDI messages the Arduino sends.
The data will be coming in on /dev/ttyUSB0 (linux) which
the python serial module opens no problem. Also when I call
serialObject.getSupportedBaudrate I get a tuple of all the
supported rates.
Unfortunalty 31250 baud isnt there... And the MIDI baudrate is 31250!
So either: A: I get over it, and reupload the code with a different
baudrate
each time I need to switch between debugging code with the
PC and using the device in real life.
B: There is some way to make python understand the 31250 baudrate?
Google didnt show me any obvious "python midi baud rate" page..
Cheers for reading, -Harry
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Python Ireland" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.ie/group/pythonireland?hl=en
-~----------~----~----~----~------~----~------~--~---