leds

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LED

type LED struct {
	// contains filtered or unexported fields
}
var User LED // LED5 (blue)

func (LED) Get

func (d LED) Get() int

func (LED) Pin

func (d LED) Pin() gpio.Bit

func (LED) Set

func (d LED) Set(on int)

func (LED) SetOff

func (d LED) SetOff()

func (LED) SetOn

func (d LED) SetOn()

func (LED) Toggle

func (d LED) Toggle()

Jump to

Keyboard shortcuts

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