wave

package
v0.0.0-...-601a5b7 Latest Latest
Warning

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

Go to latest
Published: May 18, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateRandomData

func GenerateRandomData(count int) []byte

func ScanAvailablePort

func ScanAvailablePort() ([]string, error)

Types

type OpError

type OpError struct {
	// contains filtered or unexported fields
}

func (*OpError) Error

func (oe *OpError) Error() string

type Waveform

type Waveform struct {
	Port serial.Port
	// contains filtered or unexported fields
}

func New

func New(portname string, mode *serial.Mode) (*Waveform, error)

func (*Waveform) Close

func (wf *Waveform) Close() error

func (*Waveform) Latest

func (wf *Waveform) Latest() []byte

func (*Waveform) PortName

func (wf *Waveform) PortName() string

Jump to

Keyboard shortcuts

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