Hello, i'm french and im actually using the FT81x_Arduino_Driver, library and my problem is when i put all the good pin and put the exemple code hello world there nothing on the screen, the screen stay black.
So in first i'm using the nhd-7.0-800480FT-CTXL-T with an arduino zero.
I want to know if it's possible to work with this screen and that arduino card ?
My connection pin are
- SCK : 13
- MOSI : 12
- MISO : 11
- SS : 10
all conected to the screen the screen is on 3,3 volt same for the backlight.
FT81x_Arduino_Driver.zip (1,1 Mo)
And this is the datasheet of the screen
NHD-7.0-800480FT-CTXL-T.pdf (1,4 Mo)
And i'm using that code
#include "FT81x.h"
// Define pin connections for Arduino Zero
const uint8_t FT81X_CS = 10; // Chip Select
const uint8_t FT81X_PD = 9; // Power Down
const uint8_t FT81X_INT = 8; // Interrupt
FT81x ft81x = FT81x(FT81X_CS, FT81X_PD, FT81X_INT);
void setup() {
SPI.begin();
ft81x.begin();
ft81x.setRotation(FT81x_ROTATE_LANDSCAPE);
ft81x.beginDisplayList();
ft81x.clear(FT81x_COLOR_RGB(255, 255, 255));
ft81x.drawText(240, 150, 31, FT81x_COLOR_RGB(0, 0, 0), FT81x_OPT_CENTER, "Hello World\\0");
ft81x.drawText(240, 210, 22, FT81x_COLOR_RGB(0, 0, 0), FT81x_OPT_CENTER, "https://github.com/blazer82/FT81x_Arduino_Driver\\0");
ft81x.drawCircle(120, 350, 40, FT81x_COLOR_RGB(255, 0, 0));
ft81x.drawCircle(240, 350, 40, FT81x_COLOR_RGB(0, 255, 0));
ft81x.drawCircle(360, 350, 40, FT81x_COLOR_RGB(0, 0, 255));
ft81x.swapScreen();
}
void loop() {
// do nothing
}