You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use a 2.1" round display with the ESP32-S3. I face the problem, that the colors are wrong ( changing the Endian does not correct it) and that the picture is flickering. I run the PDQGraficTest. It works with wrong colors and the display is stable, but when I change the orientation, there are gost pictures ( Orientation 2)
If I use a MaTouch 2.1" Displayunit, the colors are correct, all is stable. My Init code is
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I use a 2.1" round display with the ESP32-S3. I face the problem, that the colors are wrong ( changing the Endian does not correct it) and that the picture is flickering. I run the PDQGraficTest. It works with wrong colors and the display is stable, but when I change the orientation, there are gost pictures ( Orientation 2)

If I use a MaTouch 2.1" Displayunit, the colors are correct, all is stable. My Init code is
#include <Wire.h>
#include <Arduino_GFX_Library.h>
#define TFT_BL 38
#define AV_GRN 0x06A2 // Aviation Green -> Blue Arc
#define AV_RED 0xE804 // Aviation Red -> Warning
#define AV_BLU 0x18DC // Aviation Blue ->
#define AV_YEL 0xE742 // Aviation Yellow -> Yellow Arc
#define AV_MGN 0xE8BC // Aviation Magenta ->
#define AV_AMB 0xFD26 // Aviation Amber -> Caution
#define AV_WHT 0xFFFF // Aviation White -> White Arc
#define AV_BLK 0x0000 // Aviation Black
// Color Definitions
#define LGRY 0x0F7D // Light Grey
Arduino_DataBus *bus = new Arduino_SWSPI
(
GFX_NOT_DEFINED /DC/,
1 /CS/,
46 /SCK/,
19 /MOSI/,
GFX_NOT_DEFINED /MISO/
);
Arduino_ESP32RGBPanel rgbpanel = new Arduino_ESP32RGBPanel
(
2 / DE /,
42 / VSYNC /,
3 / HSYNC /,
45 / PCLK /,
11 / R0 /,
15 / R1 /,
12 / R2 /,
16/ R3 /,
21/ R4 /,
39 / G0/P22 /,
7 / G1/P23 /,
47 / G2/P24 /,
8 / G3/P25 /,
48 / G4/P26 /,
9 / G5 /,
4 / B0 /,
41 / B1 /,
5 / B2 /,
40 / B3 /,
6 / B4 /,
1 /h_synch_polarity/,
10 / hsync_front_porch /,
8 / hsync_pulse_width /,
50 / hsync_back_porch /,
1 /vsynch_polarity/,
10 / vsync_front_porch /,
8 / vsync_pulse_width /,
20 / vsync_back_porch */
);
Arduino_RGB_Display gfx = new Arduino_RGB_Display
(
480 / width /,
480 / height /,
rgbpanel,
0 / rotation /,
true / autoflush */,
bus,
GFX_NOT_DEFINED /RST/,
st7701_type5_init_operations,
sizeof(st7701_type5_init_operations)
);
void setup()
{
pinMode(TFT_BL, OUTPUT);
digitalWrite(TFT_BL,LOW);
}
void loop()
{
}
Hope somebody can help me here.
Beta Was this translation helpful? Give feedback.
All reactions