auto_interface

package
v0.0.0-...-a1931d7 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutoInterface

type AutoInterface struct {
	Display  *epd.EPD
	Screen   *gg.Context
	TimeZone string
	Agps     *auto_gps.AutoGps
	Fonts    map[string]font.Face
}

func New

func New(Agps *auto_gps.AutoGps) *AutoInterface

func (*AutoInterface) ClearScreen

func (AutoInt *AutoInterface) ClearScreen()

func (*AutoInterface) DrawClock

func (AutoInt *AutoInterface) DrawClock()

func (*AutoInterface) DrawGPS

func (AutoInt *AutoInterface) DrawGPS()

func (*AutoInterface) DrawSpeed

func (AutoInt *AutoInterface) DrawSpeed()

func (*AutoInterface) DrawX

func (AutoInt *AutoInterface) DrawX()

func (*AutoInterface) LoadFonts

func (AutoInt *AutoInterface) LoadFonts()

func (*AutoInterface) SetLed

func (AutoInt *AutoInterface) SetLed()

type FontPack

type FontPack struct {
	File  string
	Sizes []float64
	Short string
}

type ReadablePinPatch

type ReadablePinPatch struct{ rpio.Pin }

func (ReadablePinPatch) Read

func (pin ReadablePinPatch) Read() uint8

Jump to

Keyboard shortcuts

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