Author Topic: Data Address  (Read 2173 times)


  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Data Address
« on: October 21, 2016, 07:48:56 PM »
I am using a NHD-0420E2Z-NSW-BBW and I can send Characters to the display but The problem I have is after send characters to the first line ( that works just fine ) When I try to send Characters to the second Line they all go to the Third Line regardless of what Character address I use It appears that the address that I am sending is not being used and what the Display is doing is advancing the start address by one automatically in that the display goes from Line 1 to Line 3 to Line 2 then Line 4.  So how do I get the Display out of automatic address advance and be able to place a character where ever I want ???


  • Administrator
  • Hero Member
  • *****
  • Posts: 384
  • Karma: 10
    • View Profile
Re: Data Address
« Reply #1 on: October 24, 2016, 07:55:52 AM »

Are you sending a command to go to line 2? [command(0xC0);]

Because of the way the controller is set-up, the RAM Address can be found on page 5 of the display datasheet.
You would need to use the Set DDRAM Address to move to line 2.


NHD-0220CW-AB3 "doubling" data?

Started by GerryOBoard OLEDs

Replies: 2
Views: 3571
Last post October 25, 2015, 03:25:07 AM
by GerryO
NHD-0420DZW-AG5 OLED character module--Displaying junk data

Started by control3Board OLEDs

Replies: 2
Views: 4713
Last post December 11, 2016, 11:19:54 PM
by control3
NHD-1.27-12896UGC3, can't write data correctly, 4 wire spi

Started by dannyjBoard OLEDs

Replies: 1
Views: 3768
Last post November 14, 2014, 09:30:55 AM
by Michael_L
NHD-0216K3Z-FL-GBW-V3 outputting 5V on data pin

Started by Andrew_BBoard Character LCDs

Replies: 4
Views: 3319
Last post December 07, 2016, 08:34:51 AM
by Paul_B
NHD-0420D3Z - Arduino I2C Address 0x28 SOLVED

Started by andywbBoard Character LCDs

Replies: 1
Views: 1140
Last post August 11, 2018, 01:24:36 AM
by andywb