Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ctboard:peripherals:lcd_ascii [2020/09/05 15:49] – [Programming Example] ruan | ctboard:peripherals:lcd_ascii [2022/12/23 12:20] (current) – ruan | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== LCD ASCII Interface ====== | ====== LCD ASCII Interface ====== | ||
- | Every position on the LCD corresponds to an address. See below for the realation. \\ \\ | + | Every position on the LCD corresponds to an address. See below for the relation. \\ \\ |
> {{ctboard: | > {{ctboard: | ||
> Supported [[ctboard: | > Supported [[ctboard: | ||
\\ | \\ | ||
+ | |||
+ | ===== Registers ===== | ||
+ | |||
+ | The registers are write only. | ||
+ | |||
+ | \\ {{ctboard_lcd_ascii_reg_new.svg}} \\ \\ | ||
+ | |||
+ | ===== Display Positions ===== | ||
+ | |||
+ | \\ {{ctboard_lcd_ascii_new.svg? | ||
+ | |||
+ | Base address: 0x6000' | ||
===== Programming Example ===== | ===== Programming Example ===== | ||
- | The code snippet | + | The code snippets |
<code c> | <code c> | ||
Line 24: | Line 36: | ||
LDR r0, =ADDR_LCD_ASCII | LDR r0, =ADDR_LCD_ASCII | ||
- | LDR r1, " | + | LDR r1, =" |
- | | + | |
</ | </ | ||
\\ | \\ | ||
- | ===== Registers ===== | ||
- | |||
- | The Registers are write only. | ||
- | |||
- | \\ {{ctboard_lcd_ascii_reg_new.svg}} \\ \\ | ||
- | |||
- | ===== Display Positions ===== | ||
- | |||
- | \\ {{ctboard_lcd_ascii_new.svg? | ||
- | |||
- | Base address: 0x6000' |