I'm developing an embedded project and I need to connect Arduino and Raspberry pi because I want to control Arduino with Raspberry Pi over the serial port. My question is how can I get the Arduino port in Linux dynamicaly with python?
My python program will loop sending commands to Arduino and I don't want to lose communication if someone connects and disconnects the Arduino.
Thanks for any help. Zulin