Browse Source

Update main.swift

Yeo Kheng Meng 9 năm trước cách đây
mục cha
commit
4522b9261e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)
 }