Author Topic: Data Address  (Read 887 times)

rwamser

  • 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 ???
Richard

Saurabh_B

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

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: 2019
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: 1296
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: 2315
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: 1216
Last post December 07, 2016, 08:34:51 AM
by Paul_B
Changing the Slave Address with NHD-0420D3Z

Started by alkBoard Character LCDs

Replies: 2
Views: 2625
Last post January 13, 2015, 01:53:20 PM
by alk