Ver Fonte

Update main.swift

Yeo Kheng Meng há 9 anos atrás
pai
commit
4522b9261e
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      Examples/SwiftSerialExample/Sources/main.swift

+ 1 - 1
Examples/SwiftSerialExample/Sources/main.swift

@@ -11,7 +11,7 @@ let test3Strings: String = testString + "\n" + testString + "\n" + testString +
 
 let arguments = CommandLine.arguments
 guard arguments.count >= 2 else {
-    print("Need serial port name, e.g. /dev/ttyUSB0 as the first argument.")
+    print("Need serial port name, e.g. /dev/ttyUSB0 or /dev/cu.usbserial as the first argument.")
     exit(1)
 }