keypad

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

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

Driver is a driver for 4x4 keypads

func (*Driver) Configure

func (keypad *Driver) Configure(r4, r3, r2, r1, c4, c3, c2, c1 machine.Pin)

Configure takes r4 -r1 pins and c4 - c1 pins

func (*Driver) GetIndices

func (keypad *Driver) GetIndices() (int, int)

func (*Driver) GetKey

func (keypad *Driver) GetKey() string

Jump to

Keyboard shortcuts

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