Nhd-0420d3z-nsw-bbw-v3 displaying vertical lines after every character in a sentence

I still have the same problem with this code

#include <Wire.h>
#include <inttypes.h>
#include <LCDi2cNHD.h>

LCDi2cNHD lcd = LCDi2cNHD(4,20,0x50>>1,0);
uint8_t rows = 4;
uint8_t cols = 20;


void setup() {
  Serial.begin(9600);
  Wire.setClock(400000);

  lcd.init();
  lcd.print("Please wait...");


}

void loop() {
  lcd.setCursor(0, 0);
  lcd.print("Speed: ");
  lcd.setCursor(1, 0);
  lcd.print("Press: ");

  delay(1000);
}

have you tried their example

Yup still glitches with this test code. Found a github post which mentioned the same problem which hadn't been resloved...
Starting to lose hope in this LCD

it seems to support SPI too. have you tried?

Yup also did and it still does the same thing

100KHz is the default speed for your I2C interface on Arduino and it's the max the screen can support. have you tried lowering the I2C speed to, say 10KHz ?

Hmm that might work, this can be done by just changing the Wire.setClock(400000) to Wire.setClock(50000) right?

try with 10000 (low speed mode)

Just tried this, still the same issue :frowning:

OK... get a cheap I2C LCD2004 from the Far East, they work well :slight_smile:

make sure they come with the I2C backpack soldered

Will do that, thought a more expensive one would be better to use unfortunately that is not the case..
Thanks anyway for your effort and help!

you could probably dig into the spec to see if they need to be configured a special way

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.