package serialport
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Serial communication library
Install
dune-project
Dependency
Authors
Maintainers
Sources
0.3.tar.gz
md5=75d4e9843bd11717f060a8feca148424
sha512=3fa68b03598b1fb63f2891a0cc6e5a35cabbafd4c454d7ba1d95cb880a1eb5d8684404cc558a419f4f7aff0119b41a10fb6ffde3242edde432ea91a5e429af19
doc/serialport.unix/Serialport_unix/index.html
Module Serialport_unixSource
The module provides a simple synchronization interface for non-concurrent programs, as well as a low-level native abstraction for setting up serial ports and configuring them.
Interface for a opened serial port.
open_communication ~opts port_name open the serial port using the specified opts configuration.
Source
val with_open_communication :
?exclusive:bool ->
opts:Port_options.t ->
string ->
(t -> 'a) ->
'awith_open_communication ~opts port_name callback similar to open_communication but with an auto-closing mechanism.
I/O
Channels
to_channels ?buffered ser_port
Unix interface
write ser_port buf off len the buf bytes to serial port.
Alias for Unix.write.
read ser_port buf off len the serial port to buf bytes.
Alias for Unix.read.
Modem
Exclusive
Exceptions
raise if the port name does not exist.
Pretty print
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page