Documentation
¶
Index ¶
Constants ¶
View Source
const ( BRIGHTNESS_CMD = 0x00 BOOTLOADER_CMD = 0x02 SLEEP_CMD = 0x03 DRAW_CMD = 0x06 DISPLAY_ON_CMD = 0x14 WIDTH = 9 HEIGHT = 34 )
Variables ¶
View Source
var ALLOWED_PREFIXES = []string{"png", "jpg", "jpeg", "gif"}
Functions ¶
func NewLedMatrix ¶
func NewLedMatrix(config LedMatrixConfig) (*ledMatrix, error)
Types ¶
type LedMatrixConfig ¶
Click to show internal directories.
Click to hide internal directories.