Main Content
write
Write data to serial device
Add-On Required: This feature requires the MATLAB Support Package for Raspberry Pi Hardware add-on.
Description
write(
writes data to the serial device.myserialdevice
,data
)
The write
method stops when it finishes writing the specified
data to the device, or when the timeout period elapses.
write(
writes data to the serial device and specifies precision.myserialdevice
,data
,precision
)