dccpi

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BrakeGPIO  rpio.Pin = 27
	SignalGPIO rpio.Pin = 17
)

GPIO Outputs for the Raspberry PI DCC encoder

Functions

This section is empty.

Types

type DCCPi

type DCCPi struct {
}

func NewDCCPi

func NewDCCPi() (*DCCPi, error)

func (*DCCPi) High

func (pi *DCCPi) High()

func (*DCCPi) Low

func (pi *DCCPi) Low()

func (*DCCPi) TracksOff

func (pi *DCCPi) TracksOff()

func (*DCCPi) TracksOn

func (pi *DCCPi) TracksOn()

Jump to

Keyboard shortcuts

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