Professional Documents
Culture Documents
TFT 1
TFT 1
#include <SPI.h>
#include <SD.h>
#include <TFT.h> // Hardware-specific library
void setup() {
// initialize the serial port
Serial.begin(9600);
while (!Serial) {
// wait for serial line to be ready
// needed for the Leonardo
}
void loop(){
// nothing happening here
}
For the Esplora :
void setup() {
// initialize the serial port
Serial.begin(9600);
while (!Serial) {
// wait for serial line to be ready
}
void loop(){
// nothing happening here
}
[Get Code]
Next steps
Now that you have tested the basic functionality of the screen, see the TFT library
pages for information about the library's API and additional examples. See the
hardware page for more information about the screen's components. It's also
recommended to visit the Adafruit graphics library page for additional information
on functions not covered.
The text of the Arduino getting started guide is licensed under a Creative Commons
Attribution-ShareAlike 3.0 License. Code samples in the guide are released into the
public domain.
NEWSLETTER
Enter your email to sign up