Skip to content
Discussion options

You must be logged in to vote

Yes... Already. Made it working using these settings:

#define USER_SETUP_INFO "User_Setup"

// Define STM32 to invoke optimised processor support (only for STM32)
#define STM32

// Didn't find any difference between drivers
// #define ST7789_DRIVER
#define ST7789_2_DRIVER

// ST7789 240 x 320 portrait
#define TFT_WIDTH  240 
#define TFT_HEIGHT 320

// The TFT can be connected to SPI port 1 or 2
#define TFT_SPI_PORT 1 // SPI port 1 maximum clock rate is 55MHz
#define TFT_MOSI D11
#define TFT_MISO D12
#define TFT_SCLK D13
#define TFT_CS   D10 // Chip select control pin to TFT CS
#define TFT_DC   D8 // Data Command control pin to TFT DC (may be labelled RS = Register Select)
#define TFT_RST …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@YePererva
Comment options

Answer selected by YePererva
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants