Explorar o código

Update main.swift

Yeo Kheng Meng %!s(int64=9) %!d(string=hai) anos
pai
achega
4522b9261e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)
 }