Author Topic: CGRAM,DDRAM in 2x16 Character LCD - NHD-0216K1Z-FSW-FBW-L  (Read 2171 times)

pradeepsysargus

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
CGRAM,DDRAM in 2x16 Character LCD - NHD-0216K1Z-FSW-FBW-L
« on: June 23, 2016, 01:40:32 AM »
We are having a NHD-0216K1Z-FSW-FBW-L.

I wish to understand what CGRAM and DDRAM are for.
Can I use them in the code.?

I have seen the sample code for 8-bit mode in the datasheet. Looks like there is no mention of CGRAM and DDRAM in this code.

Thanks,
Pradeep Ch.

Ted_M

  • Administrator
  • Newbie
  • *****
  • Posts: 8
  • Karma: 1
    • View Profile
Re: CGRAM,DDRAM in 2x16 Character LCD - NHD-0216K1Z-FSW-FBW-L
« Reply #1 on: June 24, 2016, 11:37:16 AM »
Hi Pradeep,

The DDRAM or (Display data RAM) contains the character data that is displayed on the screen. It stores the 8-bit standard characters preset for the display in 80x8 bits for up to 80 characters. Their address locations can be found on page 5 of the display specification: http://www.newhavendisplay.com/specs/NHD-0216K1Z-FSW-FBW-L.pdf

The CGRAM or (Character Generator RAM) is customizable, and can be used to write custom character patterns in a 5x8 dot format. Users can program this area to create and display up to 8 custom characters.
Details on how to program the CGRAM can be found on page 16 of the controller specification: http://www.newhavendisplay.com/app_notes/ST7066U.pdf

-Ted

 

Character LCD NHD‐0220D3Z‐NSW‐BBW‐V3 not receiving correct characters

Started by davekBoard Character LCDs

Replies: 1
Views: 2137
Last post March 25, 2016, 05:23:05 PM
by Saurabh_B
NHD-0420DZW-AG5 OLED character module--Displaying junk data

Started by control3Board OLEDs

Replies: 2
Views: 1004
Last post December 11, 2016, 11:19:54 PM
by control3
NHD-C0220Biz-FSW adds character 0x11 at begining of line

Started by whAtlGaBoard Character LCDs

Replies: 3
Views: 1291
Last post July 11, 2016, 08:20:40 AM
by Saurabh_B
Controlling 1x16 character display NHD-0116GZ.

Started by icaganBoard Character LCDs

Replies: 5
Views: 4460
Last post May 21, 2014, 03:31:37 PM
by Michael_L
OLED Character display - Some commands don't work

Started by wedgeBoard Character LCDs

Replies: 1
Views: 2997
Last post July 08, 2014, 09:29:43 AM
by Michael_L