CGRAM,DDRAM in 2x16 Character LCD - NHD-0216K1Z-FSW-FBW-L
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.
-
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:https://newhavendisplay.com/content/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:https://newhavendisplay.com/content/app_notes/ST7066U.pdf
-Ted0
Please sign in to leave a comment.
Comments
1 comment