embd: github.com/kidoman/embd/controller/servoblaster Index | Files

package servoblaster

import "github.com/kidoman/embd/controller/servoblaster"

Package servoblaster allows interfacing with the software servoblaster driver.

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


Package Files


type ServoBlaster Uses

type ServoBlaster struct {
    // contains filtered or unexported fields

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

func New Uses

func New() *ServoBlaster

New creates a new ServoBlaster instance.

func (*ServoBlaster) Channel Uses

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

func (*ServoBlaster) Close Uses

func (d *ServoBlaster) Close() error

Close closes the open driver handle.

Package servoblaster imports 3 packages (graph) and is imported by 2 packages. Updated 2016-07-16. Refresh now. Tools for package owners.