Hi, I’m using this code to select a serial port, when I run it I get the following list.
/dev/cu.Bluetooth-Modem
/dev/cu.usbmodem3a21
/dev/cu.Bluetooth-PDA-Sync
What I want it to say is:
/dev/tty.usbmodem3a21
I have no idea what the “cu” or “tty” means but I know that I need the tty version.
Maybe I could still use my code and then modify the string
Any thoughts?
Thanks.
Phil
set thePorts to serialport list
set port_name to choose from list thePorts