rpio

package
v0.0.0-...-86f3bae Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KeyPins

func KeyPins() keys.Pins

func LedPin

func LedPin(number uint8) rpio.Pin

func LedPins

func LedPins() led.Pins

func Open

func Open()

Opens RPIO file since RPIO is used in packages led, display and keys this is the central point for initialization

Types

type Key

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

func KeyPin

func KeyPin(number uint8) Key

func (Key) IsKeyPressed

func (b Key) IsKeyPressed() bool

Jump to

Keyboard shortcuts

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