Explorar el Código

(fix) readme syntax

Michael Redig hace 2 años
padre
commit
1d88c77570
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -14,7 +14,7 @@ import SwiftSerial
 let serialPort = SerialPort(path: "/dev/cu.usbmodem1234") // you'll need to find the correct device on your own, but this is what it will resemble on a mac
 try serialPort.openPort()
 
-serialPort.setSettings(
+try serialPort.setSettings(
 	baudRateSetting: .symmetrical(.baud115200),
 	minimumBytesToRead: 1)