write(_:)
Writes a UInt8 to the slave device.
@discardableResult func write(_ byte: UInt8) -> Result<(), Errno>
Parameters
- byte
A UInt8 to be sent to the slave device.
Returns
Whether the communication succeeds. If not, it returns the specific error.