package serial
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
module Private : sig ... end
Submodule for values that should not be used externally
val read_line : unit -> string Lwt.t
val write_line : string -> unit Lwt.t
val write : string -> unit Lwt.t
val wait_for_line :
string ->
timeout_s:float option ->
Serial__.Wait_for.t Lwt.t
Wait for the specified string to be received.
val io_loop : string option -> unit Lwt.t
Open two-way communication between std(i/o) and the Serial device.
Supply Some "$KEYWORD"
to exit the loop upon entering the specified line in stdin. Supplying None
causes this function to loop indefinitely.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>