From bcefe3c44c9fdd99514a6cc7a26953e9a4498850 Mon Sep 17 00:00:00 2001 From: Joshua Nussbaum Date: Fri, 1 Oct 2010 00:26:40 -0700 Subject: [PATCH] When initializing LCD, comment specified "8-bit" mode when it should day "4 bit mode" --- libraries/LiquidCrystal/LiquidCrystal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 libraries/LiquidCrystal/LiquidCrystal.cpp diff --git a/libraries/LiquidCrystal/LiquidCrystal.cpp b/libraries/LiquidCrystal/LiquidCrystal.cpp old mode 100755 new mode 100644 index f2a41153526..23713f47b9f --- a/libraries/LiquidCrystal/LiquidCrystal.cpp +++ b/libraries/LiquidCrystal/LiquidCrystal.cpp @@ -122,7 +122,7 @@ void LiquidCrystal::begin(uint8_t cols, uint8_t lines, uint8_t dotsize) { write4bits(0x03); delayMicroseconds(150); - // finally, set to 8-bit interface + // finally, set to 4-bit interface write4bits(0x02); } else { // this is according to the hitachi HD44780 datasheet