static struct lcd_cmd st7735_init_sequence[] = { | |
{CMD_TYPE_START, 0x00}, | |
{CMD_TYPE_CMD, 0x11}, | |
{CMD_TYPE_DELAY, 300}, | |
{CMD_TYPE_CMD, 0xb1}, | |
{CMD_TYPE_DATA, 0x02}, | |
{CMD_TYPE_DATA, 0x35}, | |
{CMD_TYPE_DATA, 0x36}, | |
{CMD_TYPE_CMD, 0xb2}, | |
{CMD_TYPE_DATA, 0x02}, | |
{CMD_TYPE_DATA, 0x35}, | |
{CMD_TYPE_DATA, 0x36}, | |
{CMD_TYPE_CMD, 0xb3}, | |
{CMD_TYPE_DATA, 0x02}, | |
{CMD_TYPE_DATA, 0x35}, | |
{CMD_TYPE_DATA, 0x36}, | |
{CMD_TYPE_DATA, 0x02}, | |
{CMD_TYPE_DATA, 0x35}, | |
{CMD_TYPE_DATA, 0x36}, | |
{CMD_TYPE_CMD, 0xb4}, | |
{CMD_TYPE_DATA, 0x00}, | |
{CMD_TYPE_CMD, 0xc0}, | |
{CMD_TYPE_DATA, 0xa2}, | |
{CMD_TYPE_DATA, 0x02}, | |
{CMD_TYPE_DATA, 0x84}, | |
{CMD_TYPE_CMD, 0xc1}, | |
{CMD_TYPE_DATA, 0xc5}, | |
{CMD_TYPE_CMD, 0xc2}, | |
{CMD_TYPE_DATA, 0x0d}, | |
{CMD_TYPE_DATA, 0x00}, | |
{CMD_TYPE_CMD, 0xc3}, | |
{CMD_TYPE_DATA, 0x8a}, | |
{CMD_TYPE_DATA, 0x2a}, | |
{CMD_TYPE_CMD, 0xc4}, | |
{CMD_TYPE_DATA, 0x8d}, | |
{CMD_TYPE_DATA, 0xee}, | |
{CMD_TYPE_CMD, 0xc5}, | |
{CMD_TYPE_DATA, 0x12}, | |
{CMD_TYPE_CMD, 0x36}, | |
{CMD_TYPE_DATA, 0xc8}, | |
{CMD_TYPE_CMD, 0x3a}, | |
{CMD_TYPE_DATA, 0x05}, | |
{CMD_TYPE_CMD, 0x2a}, | |
{CMD_TYPE_DATA, 0x00}, | |
{CMD_TYPE_DATA, 0x02}, | |
{CMD_TYPE_DATA, 0x00}, | |
{CMD_TYPE_DATA, 0x81}, | |
{CMD_TYPE_CMD, 0x2b}, | |
{CMD_TYPE_DATA, 0x00}, | |
{CMD_TYPE_DATA, 0x03}, | |
{CMD_TYPE_DATA, 0x00}, | |
{CMD_TYPE_DATA, 0xa2}, | |
{CMD_TYPE_CMD, 0xe0}, | |
{CMD_TYPE_DATA, 0x12}, | |
{CMD_TYPE_DATA, 0x1c}, | |
{CMD_TYPE_DATA, 0x10}, | |
{CMD_TYPE_DATA, 0x18}, | |
{CMD_TYPE_DATA, 0x33}, | |
{CMD_TYPE_DATA, 0x2c}, | |
{CMD_TYPE_DATA, 0x25}, | |
{CMD_TYPE_DATA, 0x28}, | |
{CMD_TYPE_DATA, 0x28}, | |
{CMD_TYPE_DATA, 0x27}, | |
{CMD_TYPE_DATA, 0x2f}, | |
{CMD_TYPE_DATA, 0x3c}, | |
{CMD_TYPE_DATA, 0x00}, | |
{CMD_TYPE_DATA, 0x03}, | |
{CMD_TYPE_DATA, 0x03}, | |
{CMD_TYPE_DATA, 0x10}, | |
{CMD_TYPE_CMD, 0xe1}, | |
{CMD_TYPE_DATA, 0x12}, | |
{CMD_TYPE_DATA, 0x1c}, | |
{CMD_TYPE_DATA, 0x10}, | |
{CMD_TYPE_DATA, 0x18}, | |
{CMD_TYPE_DATA, 0x2d}, | |
{CMD_TYPE_DATA, 0x28}, | |
{CMD_TYPE_DATA, 0x23}, | |
{CMD_TYPE_DATA, 0x28}, | |
{CMD_TYPE_DATA, 0x28}, | |
{CMD_TYPE_DATA, 0x26}, | |
{CMD_TYPE_DATA, 0x2f}, | |
{CMD_TYPE_DATA, 0x3b}, | |
{CMD_TYPE_DATA, 0x00}, | |
{CMD_TYPE_DATA, 0x03}, | |
{CMD_TYPE_DATA, 0x03}, | |
{CMD_TYPE_DATA, 0x10}, | |
{CMD_TYPE_CMD, 0x29}, | |
{CMD_TYPE_END, 0x00}, | |
}; |