lcd

package
v0.0.0-...-2882b19 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Center

func Center(msg string) string

Center aligns a string to the 16 character window size. If the string is longer than 16 characters, it will be truncated to fit.

func Clear

func Clear(l Line)

func ClearAll

func ClearAll()

func InitLCD

func InitLCD()

func Print

func Print(line1, line2 string)

func Println

func Println(l Line, msg string)

func Reset

func Reset()

Types

type Line

type Line byte
const (
	Line1 Line = 0x80
	Line2 Line = 0xC0
)

func (Line) String

func (l Line) String() string

Jump to

Keyboard shortcuts

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