Some time ago I wrote a program that opens the serial port (/dev/ttyS0) on a PC and controls a PTZ camera. Now I want to use that with the Pi, but of course, the Pi has no serial port (RS232). Given the right RS232 to usb converter (perhaps this one
http://www.amazon.com/Manhattan-Serial- ... =pd_cp_e_2), what's involved in porting the code from the serial port to the usb port?
An alternative is to use a TTL to RS232 converter and talk to the UART port. But since I already have the usb to RS322
cable, I'd like to try the usb first.
Any examples or tutorials?
Thanks!