Registry / networking / goburrow-serial

goburrow-serial

JSON →
library0.1.0gogounverified

Package serial provides a cross-platform serial port reader and writer.

go get github.com/goburrow/serial
INSTALL
IMPORT
SIG · GOBURROW-SERIAL
G
goburrow-serial
networkinggov0.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

serial
github.com/goburrow/serial

Open a serial port with given configuration.

package main import ( "fmt" "github.com/goburrow/serial" ) func main() { cfg := serial.Config{Address: "/dev/ttyUSB0", BaudRate: 9600} port, err := serial.Open(&cfg) if err != nil { panic(err) } defer port.Close() fmt.Println("Serial port opened") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
goburrow-serial — go get goburrow-serial · libregistry