Go Down

Topic: 4 Bit EBAY LCD using "LCD4Bit_mod" Fix: (Read 93 times) previous topic - next topic

teknogeek1300

Ran into an issue with a cheap EBAY 4 bit LCD shield using old MODIFIED "LCD4Bit_mod.h" requirments, which as many know now has been updated to use "LiquidCrystal.h"

Solution:

I found a read only topic on this, and wanted to add some keywords so it was easier to find.

Quote
LCD 1602 Keypad Shield For Arduino Due UNO R3 PANTALLA AZUL BUTTONS 2016
is the title mine was listed as.

It gave example code using "LCD4Bit_mod.h", and a vague
Quote
Then you need to download LCD4Bit_mod.h library file to arduino-0015 \ hardware \ libraries
The solution:

Use the "new" LiquidCrystal/Hello World example, with this mod:

Quote from: pluggy
If I've read the schematic right, if you change
Code: [Select]
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

to

Code: [Select]
LiquidCrystal lcd(8, 9, 4, 5, 6, 7);
And all is good! Thank you, pluggy!

Go Up