mathertel / LiquidCrystal_PCF8574

A library for driving LiquidCrystal displays (LCD) by using the I2C bus and an PCF8574 I2C adapter.
https://www.mathertel.de/Arduino/LiquidCrystal_PCF8574.aspx
BSD 3-Clause "New" or "Revised" License
131 stars 53 forks source link

LCD 16x4 behaves strange. #33

Open videobuff opened 9 months ago

videobuff commented 9 months ago

How to go about with a 16x4 display ? pos (0,2) and (0,3) starts on position (4,2) and (4,3).

Here is the code: lcd.clear(); lcd.setCursor(0, 0); lcd.print("*** first line."); lcd.setCursor(0, 1); lcd.print("*** second line."); lcd.setCursor(0, 2); lcd.print("*** third line."); lcd.setCursor(0, 3); lcd.print("*** fourth line.");

Scherm­afbeelding 2023-12-06 om 17 21 10