Emans
Member
Hi everyone, I'm sorry to bring this topic up once again, but even after reading every possible thread on the web about the subject, I still can't manage to make my display work.
The display itself is a EastRising (BuyDisplay) ER-TFT-050-6, 5V, 40pin Header, no Touchscreen version, with ER3304-1 font chip.
The library I'm using is the RA8875_t4 branch from mjs513's GitHub (that I believe is forked from sumotoy's one?). and the code compiled with Arduino IDE 2.3.2 (latest) paired with Teensyduino 1.59.
The only electrical connection are the SPI ones written in the code (apart from power lines: 5V and ground, both Teensy and display are connected to an external 9V to 5V breadboard shield), namely:
Teensy 4.1 | LCD
Pin 10 (CS0) --------- Pin 5
Pin 11 (MOSI0) --- Pin 6
Pin 13 (SCK0) ------ Pin 8
(will attach the display datasheet)
I tried some examples, but only the Benchmark works, then I tried to write the simplest code I could, here's what I came up with:
The symptoms of the screen are: absolutely no response, it stays and remains pitch black no matter what. I even tried the command tft.displayOn(true) to no avail. I can't even adjust the backlight (I suppose), on the jumpers it says that it's using the internal PWM but the line tft.brightness() or how it was spelled (going by memory on this) does nothing.
Everything seems just dead. Being the first time using this controller (and a Teensy) it's probably some stupid newbie mistake (I used to tinker with Arduino years ago, but forgot a lot about programming), but I would be happy to be at least able to confirm that it's cooked, if it is, so that I can send it back and stop wasting my time...
The display itself is a EastRising (BuyDisplay) ER-TFT-050-6, 5V, 40pin Header, no Touchscreen version, with ER3304-1 font chip.
The library I'm using is the RA8875_t4 branch from mjs513's GitHub (that I believe is forked from sumotoy's one?). and the code compiled with Arduino IDE 2.3.2 (latest) paired with Teensyduino 1.59.
The only electrical connection are the SPI ones written in the code (apart from power lines: 5V and ground, both Teensy and display are connected to an external 9V to 5V breadboard shield), namely:
Teensy 4.1 | LCD
Pin 10 (CS0) --------- Pin 5
Pin 11 (MOSI0) --- Pin 6
Pin 13 (SCK0) ------ Pin 8
(will attach the display datasheet)
I tried some examples, but only the Benchmark works, then I tried to write the simplest code I could, here's what I came up with:
C++:
#include <SPI.h>
#include <RA8875.h>
#define RA8875_CS 10
#define RA8875_MOSI 11
#define RA8875_SCK 13
#define RA8875_RST 255
RA8875 tft = RA8875(RA8875_CS, RA8875_RST, RA8875_MOSI, RA8875_SCK);
void setup() {
tft.begin(RA8875_800x480);
tft.drawLine(50, 50, 100, 50, RA8875_WHITE);
}
void loop(){
}
Everything seems just dead. Being the first time using this controller (and a Teensy) it's probably some stupid newbie mistake (I used to tinker with Arduino years ago, but forgot a lot about programming), but I would be happy to be at least able to confirm that it's cooked, if it is, so that I can send it back and stop wasting my time...