2

I have the LiquidCrystal library installed but all the examples are for 4bit connection, I want to drive the LCD with 8bit.

In LiquidCrystal.cpp file it says;

When the display powers up, it is configured as follows:

DL = 1; 8-bit interface data

But what's is the function, should it be like this: LiquidCrystal DL(1);? where and how should I call DL = 1;?

sa_leinad
3,2182 gold badges23 silver badges51 bronze badges
asked Jul 8, 2022 at 12:08

1 Answer 1

3

You don't "do" anything to enable 8 bit. As it says when the device powers up the DL bit in the configuration is already set, enabling 8 bit.

You just need to wire it for 8 bit and specify all 8 bits of wiring in the constructor.

The manual entry for the constructor shows you what parameters you can specify:

answered Jul 8, 2022 at 12:28
0

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.