This is an old revision of the document!
LCD ASCII Interface
Every position on the LCD corresponds to an address. See below for the realation.
Programming Example
The code snippet below shows how to use the ASCII interface of the LCD.
#include "reg_ctboard.h" const char text[] = "hello"; CT_LCD->ASCII[13u] = 'c'; /* Write character 'c' at position 13 on the LCD. */ CT_LCD->ASCII[18u] = text[0u]; /* Write character 'h' from string "hello" at position 13 on the LCD. */
ADDR_LCD_ASCII EQU 0x60000300 LDR r0, =ADDR_LCD_ASCII LDR r1, "E" ; Load value of ASCII char 'E' into r2. STRH r1, [r0, #13] ; Write 'E' at position 13 on the LCD.