37 t.writeCommand(SWRESET, {}, 120);
38 t.writeCommand(SLPOUT, {}, 120);
40 t.writeCommand(
PWCTR1, {0xA2, 0x02, 0x84});
42 t.writeCommand(
PWCTR3, {0x0A, 0x00});
43 t.writeCommand(
PWCTR4, {0x8A, 0x2A});
44 t.writeCommand(
PWCTR5, {0x8A, 0xEE});
46 t.writeCommand(MADCTL, {0xC8});
47 t.writeCommand(COLMOD, {0x05});
51 t.writeCommand(
GMCTRP1, {0x02, 0x1C, 0x07, 0x12, 0x37, 0x32, 0x29, 0x2D,
52 0x29, 0x25, 0x2B, 0x39, 0x00, 0x01, 0x03, 0x10});
53 t.writeCommand(
GMCTRN1, {0x03, 0x1D, 0x07, 0x06, 0x2E, 0x2C, 0x29, 0x2D,
54 0x2E, 0x2E, 0x37, 0x3F, 0x00, 0x00, 0x02, 0x10});
55 t.writeCommand(inverted ? INVON : INVOFF);
56 t.writeCommand(NORON);
57 t.writeCommand(DISPON);