Home Page | Language Reference (extended) | SD Reference | Libraries | Comparison | Changes
TFTLibrary > TFT
This is the named instance of the TFT class when targeting the Arduino Esplora board.
EsploraTFT
none
none
#include <Esplora.h>
#include <SPI.h>
#include <TFT.h> // Arduino LCD library
void
setup
(
)
{
// initialize the screen
EsploraTFT.begin
(
)
;
// make the background white
EsploraTFT.background
(
255
,
255
,
255
)
;
}
void
loop
(
)
{
}
Corrections, suggestions, and new documentation should be posted to the Forum.
The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.