pcd8544_internal.h¶
Internal definitions for PCD8544 displays.
-
RESET_DELAY
¶ Delay for resetting the device.
1
(5000) /* keep reset low for 5ms */
-
MODE_CMD
¶ we are sending a command
1
(0)
-
MODE_DTA
¶ we are sending some data
1
(1)
-
CONTRAST_MAX
¶ maximum possible contrast value
1
(127U)
-
TEMP_MAX
¶ maximum possible temp coefficient
1
(3U)
-
BIAS_MAX
¶ maximum possible bias value
1
(7U)
-
CMD_DISABLE
¶ set LCD into power down mode
1
(0x24)
-
CMD_ENABLE_H
¶ ON using horizontal addressing.
1
(0x20)
-
CMD_ENABLE_V
¶ ON using vertical addressing.
1
(0x22)
-
CMD_EXTENDED
¶ enter extended instruction set mode
1
(0x21)
-
CMD_MODE_BLANK
¶ display nothing
1
(0x08)
-
CMD_MODE_NORMAL
¶ display memory content
1
(0x0c)
-
CMD_MODE_ALLON
¶ display ‘black’ screen
1
(0x09)
-
CMD_MODE_INVERSE
¶ display inverted memory content
1
(0x0d)
-
CMD_SET_Y
¶ set 3-bit y address, OR with Y value
1
(0x40)
-
CMD_SET_X
¶ set 7-bit x address, OR with X value
1
(0x80)
-
CMD_EXT_TEMP
¶ select temperature coefficient
1
(0x04)
-
CMD_EXT_BIAS
¶ select BIAS value
1
(0x10)
-
CMD_EXT_CONTRAST
¶ set contrast, OR with [0 - 127]
1
(0x80)