console

package
v0.0.0-...-e890a9a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package console provides functions to interact with the console via a serial port.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConsole

func GetConsole(path string, baud int) (io.ReadWriteCloser, error)

GetConsole opens a serial port at the specified path and baud rate. It returns an io.ReadWriteCloser for the port, or an error if the port cannot be opened.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL