2013年5月9日星期四

LCD oled module technology explain


Lcd display module  with its micro-power, small size, is rich in content, ultra-thin lightweight many other advantages, has been widely used in all kinds of instruments and low-power system. According to the display contents can be divided into character LCM, graphics LCM.

1602 lcd module  set, read and write, and cursor control instructions to complete a total of 11 instructions:

Clear display, reset the cursor to the address 00H location.

Second, the cursor is reset, the cursor returns to the address 00H.

Cursor and display mode settings I / D: move the cursor direction, high level right, low to the left, S: on the screen all the text to the left or to the right. High level, low invalid.

Fourth, the switch control. D: control the overall display on and off, high indicates open, low off C: to control the cursor on and off, high indicates the cursor, low no cursor B: Control whether the cursor is flashing, high flash, low level does not blink.

Cursor or display shift S / C: HIGH mobile text, move the cursor low. R / L high-to-left, lower right.

Function set command DL 4 bus: high, low, 8-bit bus N: low-level, single-line display, high two-line display 5x7 dot matrix characters, high F: low level display 5x10 dot matrix characters. (Some LCD module is DL: high 8-bit bus, the low 4 bus)

Seven character generator RAM address set Address: Character Address * 8 + number of character lines. (A character is divided into 5 * 8 dot matrix, one writes a line, the 8 rows composed of a character)

Eight, set the display address, the first behavior: 00H - 0FH behavior: 40H - 4FH.

9, read busy signal and cursor address BF: busy flag high indicates busy, LCM can not receive commands or data is low is not busy.

Ten, write data.

11, the read data.

没有评论:

发表评论