Documentation

Overview

    Package servoblaster allows interfacing with the software servoblaster driver.

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

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    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.

          Source Files