I have a device that I need to program from my computer. It uses a serial to usb cable to communicate with my computer. When programming the device I have to provide the port number, ttyUSBn
. How do I know the number of the USB por开发者_Go百科t I'm using?
On a MAC/OSX you can use the following in a terminal window: ls /dev/tty.*
精彩评论