Documentation ¶ Index ¶ type HBridge func NewHBridge(pinA, pinB, enablePinA, enablePinB int) (*HBridge, error) func (h *HBridge) Control(percent float64) error func (h *HBridge) Cool(percent float64) error func (h *HBridge) Disable() func (h *HBridge) Enable() func (h *HBridge) GetEnable() bool func (h *HBridge) HardStop() error func (h *HBridge) Heat(percent float64) error func (h *HBridge) Stop() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type HBridge ¶ type HBridge struct { // contains filtered or unexported fields } func NewHBridge ¶ func NewHBridge(pinA, pinB, enablePinA, enablePinB int) (*HBridge, error) func (*HBridge) Control ¶ func (h *HBridge) Control(percent float64) error func (*HBridge) Cool ¶ func (h *HBridge) Cool(percent float64) error func (*HBridge) Disable ¶ func (h *HBridge) Disable() func (*HBridge) Enable ¶ func (h *HBridge) Enable() func (*HBridge) GetEnable ¶ func (h *HBridge) GetEnable() bool func (*HBridge) HardStop ¶ added in v0.4.0 func (h *HBridge) HardStop() error func (*HBridge) Heat ¶ func (h *HBridge) Heat(percent float64) error func (*HBridge) Stop ¶ func (h *HBridge) Stop() Source Files ¶ View all Source files hbridge.go Click to show internal directories. Click to hide internal directories.