board

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2019 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	D1 LED = 0x10 // PB0
	D2 LED = 0x11 // PB1

	Green = D1
	Red   = D2

	UserLED = D1
)

LEDs

Variables

This section is empty.

Functions

func Setup

func Setup(all bool)

Types

type LED

type LED uint8

func (LED) Get

func (d LED) Get() int

func (LED) Pin

func (d LED) Pin() gpio.Pin

func (LED) Set

func (d LED) Set(on int)

func (LED) SetOff

func (d LED) SetOff()

func (LED) SetOn

func (d LED) SetOn()

Jump to

Keyboard shortcuts

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