hd44780: fix 4-bit data length flag

This commit is contained in:
Drayton Munster
2022-01-17 01:18:47 -05:00
committed by Ron Evans
parent 80913d5fe7
commit 905fc6fce3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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