We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a72e22 commit 76c3d92Copy full SHA for 76c3d92
1 file changed
Sources/SerialSwift/Serial.swift
@@ -71,6 +71,9 @@ public class Serial: NSObject, ORSSerialPortDelegate, Serialable {
71
}
72
73
public func open() {
74
+ serialPort = ORSSerialPort.init(path: port)
75
+ serialPort?.delegate = self
76
+ serialPort?.baudRate = baud.rawValue
77
serialPort?.open()
78
79
0 commit comments