TFT library to new format

This commit is contained in:
Fede85 2013-07-03 16:25:45 +02:00
parent 3b55bddb79
commit 87d3b4f56b
29 changed files with 13 additions and 3 deletions

View File

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

View File

@ -0,0 +1,10 @@
name=TFT
author=Adafruit/Arduino
email=info@arduino.cc
sentence=With this library you can write, draw and display images on TFT displays
paragraph=This library is compatible with most of the TFT display based on the ST7735 chipset
url=http://arduino.cc/en/Reference/TFTLibrary
architectures=*
version=1.0
dependencies= SPI, SD
core-dependencies=arduino (>=1.5.0)

View File

@ -1,6 +1,6 @@
#include "TFT.h"
#if (USB_VID == 0x2341) && (USB_PID == 0x803C) // are we building for Esplora?
#if ARDUINO_AVR_ESPLORA // are we building for Esplora?
TFT EsploraTFT(7, 0, 1);
#endif

View File

@ -21,7 +21,7 @@ public:
/// Esplora boards have hard-wired connections with
/// the Arduino LCD if mounted on the onboard connector.
#if (USB_VID == 0x2341) && (USB_PID == 0x803C) // are we building for Esplora?
#if ARDUINO_AVR_ESPLORA // are we building for Esplora?
extern TFT EsploraTFT;
#endif

View File

@ -25,7 +25,7 @@
#else
#include "WProgram.h"
#endif
#include <Adafruit_GFX.h>
#include "Adafruit_GFX.h"
#include <avr/pgmspace.h>
// some flags for initR() :(