Back to godoc.org

Package servoblaster

v0.0.0-...-d3d8c0c
Latest Go to latest

The latest major version is .

Published: May 8, 2017 | License: MIT | Module: github.com/kidoman/embd

Overview

Package servoblaster allows interfacing with the software servoblaster driver.

More details on ServoBlaster at: https://github.com/richardghirst/PiBits/tree/master/ServoBlaster

Index

type ServoBlaster

type ServoBlaster struct {
	// contains filtered or unexported fields
}

ServoBlaster represents a software RPi PWM/PCM based servo control module.

func New

func New() *ServoBlaster

New creates a new ServoBlaster instance.

func (*ServoBlaster) Channel

func (d *ServoBlaster) Channel(channel int) *pwmChannel

func (*ServoBlaster) Close

func (d *ServoBlaster) Close() error

Close closes the open driver handle.

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier