clean commit, added smoke tests

This commit is contained in:
Daniel Esteban
2019-04-30 12:57:13 +02:00
committed by Ron Evans
parent de22b8839e
commit 35a7590c2d
7 changed files with 315 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
package pcd8544
// Registers
const (
POWERDOWN = 0x04
ENTRYMODE = 0x02
EXTENDEDINSTRUCTION = 0x01
FUNCTIONSET = 0x20
DISPLAYCONTROL = 0x08
DISPLAYBLANK = 0x0
DISPLAYNORMAL = 0x04
DISPLAYALLON = 0x01
DISPLAYINVERTED = 0x05
SETYADDR = 0x40
SETXADDR = 0x80
SETTEMP = 0x04
SETBIAS = 0x10
SETVOP = 0x80
)