-
Notifications
You must be signed in to change notification settings - Fork 68
Description
Hi, i im using ST7789V2 (tied CS to GND) and all is working except resolution, in library i see that is defined WIDTH and HEIGHT of 240x240 but i need to be 240x280 because i need to get all pixels working on my display.
Here is code that i write from example library:
`#include "SPI.h"
#include "Adafruit_GFX.h"
#include "Arduino_ST7789_Fast.h"
#define SCR_WD 240
#define SCR_HT 280
#define TFT_DC 7
#define TFT_RST 8
//#define TFT_CS 9
#define CS_ALWAYS_LOW
Arduino_ST7789 tft = Arduino_ST7789(TFT_DC, TFT_RST);
void setup() {
// put your setup code here, to run once:
tft.init(SCR_WD, SCR_HT);
tft.begin();
tft.setRotation(1);
tft.fillScreen(BLACK);
//tft.setCursor(0, 0);
//tft.setTextColor(WHITE); tft.setTextSize(2);
//tft.println("IPS 240x280 ST7789V");
}
void loop() {
// put your main code here, to run repeatedly:
}
`
And here is the picture what i was getting as output:
As you can see screen is black for 240x240 (library limit), i define 240x280 but it have white color and that is missing 40 pixels....can you please update your library to be working with higher resolutions others that 240x240?
Thanks.
