mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-11 10:23:44 +00:00
19 lines
557 B
Go
19 lines
557 B
Go
package max72xx
|
|
|
|
const (
|
|
REG_NOOP byte = 0x00
|
|
REG_DIGIT0 byte = 0x01
|
|
REG_DIGIT1 byte = 0x02
|
|
REG_DIGIT2 byte = 0x03
|
|
REG_DIGIT3 byte = 0x04
|
|
REG_DIGIT4 byte = 0x05
|
|
REG_DIGIT5 byte = 0x06
|
|
REG_DIGIT6 byte = 0x07
|
|
REG_DIGIT7 byte = 0x08
|
|
REG_DECODE_MODE byte = 0x09 // turn of for led matrix, turn on for digits
|
|
REG_INTENSITY byte = 0x0A
|
|
REG_SCANLIMIT byte = 0x0B
|
|
REG_SHUTDOWN byte = 0x0C // turn on for no shutdown mode
|
|
REG_DISPLAY_TEST byte = 0x0F // turn off for no display test
|
|
)
|