utils

package
v0.0.0-...-3b55a02 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2022 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLedOuterBoundry

func GetLedOuterBoundry(rows int, columns int, reverse bool) []int

Given the rows and columns of a LED hat, this will return sequential LED positions of the border of the hat

func VerbosePrintln

func VerbosePrintln(a ...interface{}) (n int, err error)

Check to see if -v command flag passed in, if so then fmt.Println This was added as on RPi Zero, printing out to console causes flicker on the LED hat

Types

This section is empty.

Jump to

Keyboard shortcuts

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