Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ILI9340 #11

Closed
erinzm opened this issue Sep 20, 2015 · 1 comment
Closed

ILI9340 #11

erinzm opened this issue Sep 20, 2015 · 1 comment

Comments

@erinzm
Copy link

erinzm commented Sep 20, 2015

Would this library work with the ILI9340, like in this display.

@PaulStoffregen
Copy link
Owner

Yes, I have personally tested with that exact Adafruit product. It works.

KurtE added a commit to KurtE/ILI9341_t3 that referenced this issue Jul 11, 2016
On SPI1, main board only has one CS pin, but hacks in place to allow you
to use CS pins (and SPI1 other pins) on the sdcard socket pins.

In Graphic test, was able to use with code like:
// For the Adafruit shield, these are the default.
#define TFT_DC  0xe4
#define TFT_CS 0xe5

// Use hardware SPI (on Uno, PaulStoffregen#13, PaulStoffregen#12, PaulStoffregen#11) and the above for CS/DC
//
// Tell system to use default pins
ILI9341_t3 tft = ILI9341_t3(TFT_CS, TFT_DC, 11, 255, 255, 255);

void setup() {
Serial.begin(9600);
while (!Serial) ; // wait for Arduino Serial Monitor
Serial.println("ILI9341 Test!");

SPI1.setSCK(0xe2);
SPI1.setMISO(0xe3);
SPI1.setMOSI(0xe1);
tft.begin();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants