MCS has asked for the wisdom of the Perl Monks concerning the following question:
I have a usb to serial converter and I can't figure out how to access it in perl. I am on OS X and when I plug the usb converter in it creates two devices, /dev/tty.usbserial and /dev/cu.usbserial
The device I want to connect to is a obdII car datalogger. I have the information on what commands to send etc, but I can't figure out how to send and recieve data from it. I'm not even sure which one I should use.
If anyone could provide some guidance I would greatly apreciate it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: /dev/tty.usbserial access
by Abigail-II (Bishop) on Jan 14, 2004 at 21:22 UTC | |
by MCS (Monk) on Jan 14, 2004 at 21:41 UTC |