Documentation
¶
Index ¶
Constants ¶
View Source
const ( MOTOR_ERR = "motor_error" MOTOR_STOP = "motor_stop" MOTOR_BACKWARD = "motor_backward" MOTOR_FORWARD = "motor_forward" MOTOR_LEFT = "motor_left" MOTOR_RIGHT = "motor_right" LED_ERR = "led_error" LED_OFF = "led_off" LED_ON = "led_on" BLINKER_ERR = "blinker_error" BLINKER_OFF = "blinker_off" BLINKER_ON = "blinker_on" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LED ¶
type LED struct {
// contains filtered or unexported fields
}
LED is the led service object
func (*LED) ApplyColor ¶
ApplyColor sets the color of the gopigo's LED
type Motor ¶
func (*Motor) State ¶ added in v0.0.6
func (m *Motor) State() map[string]MotorState
type MotorState ¶ added in v0.0.6
Click to show internal directories.
Click to hide internal directories.