mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-19 22:23:58 +00:00
hd44780: fix 4-bit data length flag
This commit is contained in:
committed by
Ron Evans
parent
80913d5fe7
commit
905fc6fce3
@@ -26,7 +26,7 @@ const (
|
||||
|
||||
FUNCTION_MODE = 0x20
|
||||
DATA_LENGTH_8BIT = FUNCTION_MODE | 0x10
|
||||
DATA_LENGTH_4BIT = FUNCTION_MODE | 0x0
|
||||
DATA_LENGTH_4BIT = FUNCTION_MODE | 0x2
|
||||
TWO_LINE = FUNCTION_MODE | 0x8
|
||||
ONE_LINE = FUNCTION_MODE | 0x0
|
||||
FONT_5X10 = FUNCTION_MODE | 0x4
|
||||
|
||||
Reference in New Issue
Block a user