Discover Packages
github.com/wolffshots/phocus_serial
package
module
Version:
v1.1.1
Opens a new window with list of versions in this module.
Published: Apr 27, 2023
License: Zlib
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
README
README
¶
phocus_serial
Expand ▾
Collapse ▴
Documentation
¶
Read from the open serial port until reaching a carriage return, nil or nothing
Takes a duration as an input and times out the read after that long
Returns the read string and the error
Write a string to the open serial port
The input should be the "payload" string as
the CRC is calculated and added to that in Write
Source Files
¶
Click to show internal directories.
Click to hide internal directories.