Documentation ¶ Index ¶ type Adapter type PWMDriver type Servo Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Adapter ¶ type Adapter interface { Adaptor() gobot.Adaptor } Adapter represents gobot Adaptor type PWMDriver ¶ type PWMDriver interface { // SetPWMFrequency sets PWM frequency Hz SetPWMFrequency(uint) error // SetPWMPulse generates a pulse on channel SetPWMPulse(chn int, on uint, off uint) error } PWMDriver defines PWM Driver type Servo ¶ type Servo interface { // SetServoPos sets the position -1.0 - 1.0 SetServoPos(pos float32) error } Servo defines abstract servo component Source Files ¶ View all Source files common.go pwm.go Click to show internal directories. Click to hide internal directories.