Documentation ¶
Index ¶
Constants ¶
View Source
const ( MotorStateIdle MotorState = 0 MotorStateToPos0 MotorState = 1 MotorStateToPos1 MotorState = 2 MotorStateBrake MotorState = 3 Position0 Position = 0 Position1 Position = 1 PositionUnknown Position = 2 GPIOOn GPIOState = true GPIOOFF GPIOState = false )
Variables ¶
This section is empty.
Functions ¶
func StateToString ¶
----------------------------------- Printing functions for convience
func StatesEqual ¶
Types ¶
type MotorState ¶
type MotorState uint8
Click to show internal directories.
Click to hide internal directories.