lcd

package
v0.0.0-...-39a0e3a Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LCD

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

func New

func New(line int, addr int) (*LCD, error)

New opens a connection to an lcd display and sets it up

func (*LCD) Backlight

func (l *LCD) Backlight(isOn bool) error

Backlight allows to turn the lcd's backlight on and off

func (*LCD) Clear

func (l *LCD) Clear() error

Clear clears the display from characters

func (*LCD) Close

func (l *LCD) Close()

Close must be called to free underlying ressources of the LCD

func (*LCD) Show

func (l *LCD) Show(str string, line uint8, pos uint8) error

Show presents a string on the display

Jump to

Keyboard shortcuts

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