Open ajlennon opened 2 years ago
Hi,
I'm having a look at the demo code - thanks for this!
The display is inverted though (white <-> black etc.) Enabling the TFT_invertDisplay(INVERT_ON) doesn't have any effect.
However if I change the init sequenec that works
TFT_CMD_PIXFMT, 1, DISP_COLOR_BITS_24, TFT_INVOFF, 0, TFT_CMD_FRMCTR1, 2, 0x00, 0x18,
to
TFT_CMD_PIXFMT, 1, DISP_COLOR_BITS_24, TFT_INVON, 0, TFT_CMD_FRMCTR1, 2, 0x00, 0x18,
Am guessing there's some ordering dependency for the use of the command after init?
Hi,
I'm having a look at the demo code - thanks for this!
The display is inverted though (white <-> black etc.) Enabling the TFT_invertDisplay(INVERT_ON) doesn't have any effect.
However if I change the init sequenec that works
TFT_CMD_PIXFMT, 1, DISP_COLOR_BITS_24, TFT_INVOFF, 0, TFT_CMD_FRMCTR1, 2, 0x00, 0x18,
to
TFT_CMD_PIXFMT, 1, DISP_COLOR_BITS_24, TFT_INVON, 0, TFT_CMD_FRMCTR1, 2, 0x00, 0x18,
Am guessing there's some ordering dependency for the use of the command after init?