Replies: 2 comments 3 replies
-
You need to configure the settings in a configuration file, see here. The simplest solution if you are not familiar with the PlatformIO environment is to use the Arduino IDE. |
Beta Was this translation helpful? Give feedback.
2 replies
-
it works for me when i add |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Can u helpme ? Iam using a Platformio and iam trying to run whatever on lcd screen , for that discussion let assume that I wanna run colour_test example. compiling is ok no error and.... nothing on lcd.
I tryed that code and nothing....
`
#include <SPI.h>
#define ILI9341_DRIVER
#define TFT_DC 0
#define TFT_CS 15
#define TFT_RST 2
#define TFT_CLK 18
#define TFT_MOSI 23
#define TFT_MISO 19
#define TFT_BACKLIGHT 5
#include <TFT_eSPI.h> // Hardware-specific library
TFT_eSPI tft = TFT_eSPI(); // Invoke custom library
void setup(void) {
tft.init();
tft.fillScreen(TFT_BLACK);
// Set "cursor" at top left corner of display (0,0) and select font 4
tft.setCursor(0, 0, 4);
// Set the font colour to be white with a black background
tft.setTextColor(TFT_WHITE, TFT_BLACK);
// We can now plot text on screen using the "print" class
tft.println("Intialised default\n");
tft.println("White text");
tft.setTextColor(TFT_RED, TFT_BLACK);
tft.println("Red text");
tft.setTextColor(TFT_GREEN, TFT_BLACK);
tft.println("Green text");
tft.setTextColor(TFT_BLUE, TFT_BLACK);
tft.println("Blue text");
delay(5000);
`
but when i tryed pure adafruit library with modyfication named "WROVER_KIT_LCD" from there
https://github.com/espressif/WROVER_KIT_LCD/blob/master/examples/graphicstest/graphicstest.ino
IT RUN!!! holy moly... but it doesnt have all feature like drawString itp.
How the hell, i can run that library (tft_eSPI by bodmer) on wrover kit ?:O
Beta Was this translation helpful? Give feedback.
All reactions