hbridge

package
v0.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL