baud rate _should_ be the same in your arduino code and in your comport object, otherwise you get messed up characters.
i dont have rpi here, but i didnt noticed any chenges between running comport on rpi, or standard pc.
when you send [devices( you usually get list of connected serial devices - arduinos with usb2serial and com ports if you have.
also check, ig your user is in uucp group, i think it is necessary,
and maybe also dialout group can be important. probably it depense if you are using debian fedora or arch on this rpi
kub
On 11.11.2013 18:13, Alexandros Drymonitis wrote:
Are you sure the baud rate you set to [comport] is the same as the code you load on your Arduino? That could be a problem..
If you send the [devices( message to [comport] what do you get in the console?
--
http://kubriel.servus.at