package
2.11.1+incompatible
Repository: https://github.com/buttairfly/gopanel.git
Documentation: pkg.go.dev

# Functions

CalcHexParity takes a bare string command, calculated the parity and returns the full string with return line.
CheckHexParity checks the correctness of the parity char.
IsArduinoError checks wheather the line is an error and returns a boolean.
NewArduinoCom creates a new serial arduino communication Set numLed to 0 when not needed as configureable one time parameter.
NewArduinoError looks up the error code received from the serial connection and returns the readable error.
NewArduinoErrorConfigFromPath reads a ArduinoErrorConfig from file.
ToCppVarName converts a string with spaces into a valid variable name.

# Constants

ArdoinoErrorStatType is the error category from the arduino.
LatchStatType is the current status category from the arduino.
PrintStatType is the into category from the arduino.

# Structs

ArduinoCom is a serial communication with arduino friendly protocol Set numLed to 0, when arduinoCom does not use led length.
ArduinoError is the error struct of an arduino error which implements error interface.
ArduinoErrorDescription is the description of an single arduino error and its parameters.
SerialConfig is the serial config.
Stat marks an event which will get printed.
StreamConfig holds all config values needed for the serial stream tarm package.

# Type aliases

ArduinoErrorConfig is the arduino config error map.