package
2.11.1+incompatible
Repository: https://github.com/buttairfly/gopanel.git
Documentation: pkg.go.dev
# Functions
GetLedDevice gets the current base LedDevice.
NewDeviceConfigFromPath returns a new LedDeviceConfig or error.
NewLedDevice creates a new Led device.
NewPrintConfigFromPath returns a new PrintConfig or error.
NewPrintDevice creates a new printDevice as LedDevice.
NewSerialDevice creates a new serial device.
# Constants
NumBytePerColor is the number of bytes per pixel.
NumByteToRepresentHex is the number of bytes to represent one byte as hex number.
Print debug print device.
Serial high level serial tty device.
# Structs
LedDeviceConfig is the config of the type of device.
PrintConfig configures a print device.
# Interfaces
LedDevice interface for all.
# Type aliases
Type is a LedDevice type.