mirror of
https://github.com/arduino/Arduino.git
synced 2024-11-29 10:24:12 +01:00
TFT library to new format
This commit is contained in:
parent
3b55bddb79
commit
87d3b4f56b
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 6.8 KiB |
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 6.8 KiB |
10
libraries/TFT/library.properties
Normal file
10
libraries/TFT/library.properties
Normal 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)
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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() :(
|
Loading…
Reference in New Issue
Block a user