From 307cd3358ca2e2008686912deccbc84df7b2d457 Mon Sep 17 00:00:00 2001 From: "Collin J. Doering" Date: Sat, 24 Oct 2015 04:03:51 -0400 Subject: [PATCH] Fix bitmasks for INSTR_MOV_SHIFT bits Signed-off-by: Collin J. Doering --- lcdLib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lcdLib.h b/lcdLib.h index 8b21edb..4cd228e 100644 --- a/lcdLib.h +++ b/lcdLib.h @@ -51,8 +51,8 @@ // Cursor or display shift instruction and associated options #define INSTR_MOV_SHIFT 0x10 -#define INSTR_MOV_SHIFT_SC 0x08 -#define INSTR_MOV_SHIFT_RL 0x04 +#define INSTR_MOV_SHIFT_SC 3 +#define INSTR_MOV_SHIFT_RL 2 // Function set instruction and associated options #define INSTR_FUNC_SET 0x20