Änderungen
Aus Hackerspace Ffm
Several USB-to-serial converter chips are capable of using non-standard baud rates. The chips from FTDI are just one example. However, using those baud rates especially under Linux is often cumbersome. Fortunately, most modern Linux distributions have already kernel support for those chips and baud rates. But accessing those rates from other applications especially Processing (here 1.5.1) doesn't gave the correct results. We found that the modern language Python makes things more easy - here custom baud rates worked out of the box. But this is not the end of the story: Once set a custom baud rate using a small Python script, this baud rate could also used afterwards under Processing. To work with 250kBaud under Processing, we first executed the following script once (called it set250k.py):
<codepre>
#!/usr/bin/python
import serial
ser.close() # close port
</codepre>
Then we could use it also under Processing using code like this:
<codepre>
import processing.serial.*;
Serial SerialPort;
SerialPort = new Serial(parent, "/dev/ttyUSB0", 250000);
</codepre>