Liquid Crystal Lib

Hi,

Can I use standard <LiquidCrystal.h> to interface to 20 X 4 LCD just by writing lcd.begin(20 , 4) ; OR is there separate Lib fot it.

Thanks

You can use the same library, initializing as you wrote it, assuming your LCD is compatible with the Hitachi driver.

Just keep in mind that the 4 lines may not be arranged to be 1 through 4 but may be set to 1, 3, 2, 4.

Just keep in mind that the 4 lines may not be arranged to be 1 through 4 but may be set to 1, 3, 2, 4.

There is no may involved here. They will be arranged 1, 3, 2, 4 in human terms and 0, 2, 1, and 3 as far as the SetCursor command is considered.

Don

Thanks