Skip to content

Instantly share code, notes, and snippets.

@chris-pws
Last active February 14, 2018 13:52
Show Gist options
  • Save chris-pws/6469f0077b62fb97f40a23913de4e090 to your computer and use it in GitHub Desktop.
Save chris-pws/6469f0077b62fb97f40a23913de4e090 to your computer and use it in GitHub Desktop.
SSD1322 commands
#define SSD_EN_GRAYSCALE 0x000
#define SSD_COL_START_END 0x015
#define SSD_WRITE 0x05C
#define SSD_ROW_START_END 0x075
#define SSD_START_LINE 0x0A1
#define SSD_ALL_OFF 0x0A4
#define SSD_ALL_ON 0x0A5
#define SSD_NORMAL 0x0A6
#define SSD_INVERSE 0x0A7
#define SSD_SET_VDD 0x0AB
#define SSD_SLEEP_ON 0x0AE
#define SSD_SLEEP_OFF 0x0AF
#define SSD_CLOCK_PHASE 0x0B1
#define SSD_CLOCK_DIV 0x0B3
#define SSD_GPIO 0x0B6
#define SSD_SET_GAMMA 0x0B8
#define SSD_SET_GRAY 0x0B9
#define SSD_SET_PRECHARGE 0x0BB
#define SSD_SET_VCOMH 0x0BE
#define SSD_CONTRAST_CURRENT 0x0C1
#define SSD_SET_CONTRAST 0x0C7
#define SSD_CMD_VDD_INT 0x1A1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment