Replies: 2 comments
-
is it ok if using SWSPI? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, but that one is too slow for my application. Need high frame rate. Using ESP32SPI, I also tried to override datamode to other than 3 (I believe 3 is default) but that did not help either. Any pointers? I appreciate your help! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I'm having no luck with Newhaven 240x320 2.4" IPS display (ST7789VI with 3-wire , 9-bit SPI interface).
Using latest Arduino_gfx 1.5.5 with ESP32s3. The backlite is on, just don't get the blue fill with the code below.
I know I wired it correctly, since I get expected results when I use Newhaven provided code example
using exact same setup.
Just can't make it work with arduino_gfx. I would appreciate if anyone could give me some pointers
what might be going on..
Thanks
Regards
Marius
#include <Arduino.h>
#include <Arduino_GFX_Library.h>
// Define pins for the 3-wire SPI interface
#define TFT_CLK 6
#define TFT_MOSI 7
#define TFT_CS 5
#define TFT_RST 4
Arduino_DataBus *bus = new Arduino_ESP32SPI(GFX_NOT_DEFINED, TFT_CS, TFT_CLK, TFT_MOSI, GFX_NOT_DEFINED, HSPI);
Arduino_GFX gfx = new Arduino_ST7789(bus, TFT_RST, 0 / rotation /, true / IPS /, 240 / width /, 320 / height */);
void setup() {
Serial.begin(115200);
gfx->begin();
gfx->fillScreen(BLUE);
delay(5000);
}
void loop() {
}
Beta Was this translation helpful? Give feedback.
All reactions