-
Notifications
You must be signed in to change notification settings - Fork 225
Open
Description
After downloading and compiling your library on ESP-WROVER-KIT V4.1 display runs the demo program but the screen is flipped.
I've used the following configuration:
#define DEFAULT_DISP_TYPE DISP_TYPE_ILI9341
#define DEFAULT_TFT_DISPLAY_WIDTH 240
#define DEFAULT_TFT_DISPLAY_HEIGHT 320
#define DISP_COLOR_BITS_24 0x66
#define DEFAULT_GAMMA_CURVE 0
#define DEFAULT_SPI_CLOCK 26000000
#define TFT_INVERT_ROTATION 0
#define TFT_INVERT_ROTATION1 1
#define TFT_INVERT_ROTATION2 0
#define TFT_RGB_BGR 0x08
spi_lobo_bus_config_t buscfg={
.miso_io_num=25, // set SPI MISO pin
.mosi_io_num=23, // set SPI MOSI pin
.sclk_io_num=19, // set SPI CLK pin
.quadwp_io_num=-1,
.quadhd_io_num=-1,
.max_transfer_sz = 6*1024,
};
spi_lobo_device_interface_config_t devcfg={
.clock_speed_hz=26000000, // Initial clock out at 8 MHz
.mode=0, // SPI mode 0
.spics_io_num=-1, // we will use external CS pin
.spics_ext_io_num=22, // external CS pin
.flags=LB_SPI_DEVICE_HALFDUPLEX, // ALWAYS SET to HALF DUPLEX MODE!! for display spi
};
Metadata
Metadata
Assignees
Labels
No labels

