Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandlerInterface ¶
type HandlerInterface interface { Write() Output() string Errors() []string DisableErrorCheck() SetErrorWords(l []string) }
HandlerInterface is the interface for a SerialHandler
type SerialHandler ¶
type SerialHandler struct {
// contains filtered or unexported fields
}
SerialHandler handles serial output from the Arduino to generate results
func (*SerialHandler) DisableErrorCheck ¶
func (s *SerialHandler) DisableErrorCheck()
DisableErrorCheck turns of checking errors on \a
func (*SerialHandler) Errors ¶
func (s *SerialHandler) Errors() []string
Errors gives back the errors found
func (*SerialHandler) Output ¶
func (s *SerialHandler) Output() string
Output gives a string of the current sent output
func (*SerialHandler) SetErrorWords ¶
func (s *SerialHandler) SetErrorWords(l []string)
SetErrorWords allows to replace the words that trigger errors
Click to show internal directories.
Click to hide internal directories.