package
Version:
v0.0.0-...-a6ce1d2
Opens a new window with list of versions in this module.
Published: Jan 14, 2018
License: GPL-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 4
Opens a new window with list of known importers.
Documentation
¶
Package commander implements and sends commands
Serialize serializes a command
type Command interface {
Arguments() []byte
ID() uint8
}
Command is an interface representing a sendable command
SetLaser generates a command to set the laser state
SetMotor creates a motor set command
type Sender interface {
Send(Command)
}
Sender repreesents anything that can send commands
Source Files
¶
Click to show internal directories.
Click to hide internal directories.