Author Topic: Weird display on NHD-0216CW-AG3 when using Arduino LiquidCrytal library  (Read 1125 times)


  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
I am trying to working on a NHD-0216CW-AG3 with an ATMEGA2560.   I tried first with i2c, everything seem to work fine, except that the datasheet states that in i2c mode, it doesn't support 5V VCC.

So I tried to use 6800 4 bit Parallel mode, and I got all the display mirrored, also the display direction was inversed, when I do lcd.rightToleft(), I got display starts from left to right.  Any one has any experience on how to make it work with LiquidCrytal library?


  • Administrator
  • Jr. Member
  • *****
  • Posts: 57
  • Karma: 0
    • View Profile
Hello there!

The Arduino LiquidCrystal Library is configured for HD44780 or ST7066U or compatible controllers, and this particular OLED uses the US2066 controller, which is not compatible to the Hitachi chip. This may be why you are experiencing issues using the Arduino functions for this display.

If you would like some sample code, please visit our Github link below for our Slim character OLEDs with a US2066 controller chip:

Hope this helps!


Blank Display on NHD‐C0220BiZ‐FS(RGB)‐FBW‐3VM

Started by SteveCBoard Character LCDs

Replies: 3
Views: 12125
Last post May 13, 2014, 12:04:36 AM
by SteveC
Display NHD-4.3-480272EF-ASXN#-T and NHD-4.3-480272EF-ASXN#-T revA

Started by rvalorBoard TFTs

Replies: 1
Views: 1802
Last post April 25, 2019, 03:35:10 PM
by Ted_M
NHD‐C12864A1Z‐FSW‐FBW‐HTT display clears after draw

Started by EdAverillBoard Graphic LCDs

Replies: 6
Views: 14223
Last post November 07, 2014, 08:25:20 AM
by Michael_L
NHD‐4.3‐480272EF‐ATXL#‐CTP | FAN5333 | BBB | Nothing on the Display

Started by Alias_AliasBoard TFTs

Replies: 1
Views: 10598
Last post September 25, 2015, 03:09:24 PM
by Paul_B
NHD-0420DZW-AG5 - Display "sometimes" shows only 2 lines

Started by stylonurusBoard OLEDs

Replies: 5
Views: 12717
Last post June 18, 2014, 10:09:49 AM
by Michael_L