1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-01 12:24:14 +01:00

Partially revert "Removing useless includes from examples"

This allows example to continue to work with older IDE.

This partially reverts commit 46cb5f0a5c.
This commit is contained in:
Cristian Maglie 2015-10-28 15:53:59 +01:00
parent 72600a01f2
commit 7a178a5180
19 changed files with 19 additions and 0 deletions

View File

@ -20,6 +20,7 @@
by Tom Igoe
*/
// include the SD library:
#include <SPI.h>
#include <SD.h>
// set up variables using the SD utility library functions:

View File

@ -20,6 +20,7 @@
*/
#include <SPI.h>
#include <SD.h>
const int chipSelect = 4;

View File

@ -20,6 +20,7 @@
*/
#include <SPI.h>
#include <SD.h>
const int chipSelect = 4;

View File

@ -17,6 +17,7 @@
This example code is in the public domain.
*/
#include <SPI.h>
#include <SD.h>
File myFile;

View File

@ -18,6 +18,7 @@
*/
#include <SPI.h>
#include <SD.h>
File myFile;

View File

@ -21,6 +21,7 @@
This example code is in the public domain.
*/
#include <SPI.h>
#include <SD.h>
File root;

View File

@ -20,6 +20,7 @@
*/
// include the necessary libraries
#include <SPI.h>
#include <SD.h>
#include <TFT.h> // Arduino LCD library

View File

@ -25,6 +25,7 @@
// #define rst 1
#include <TFT.h> // Arduino LCD library
#include <SPI.h>
TFT TFTscreen = TFT(cs, dc, rst);

View File

@ -16,6 +16,7 @@
*/
#include <TFT.h> // Arduino LCD library
#include <SPI.h>
// pin definition for the Uno
#define cs 10

View File

@ -15,6 +15,7 @@
*/
#include <TFT.h> // Arduino LCD library
#include <SPI.h>
// pin definition for the Uno
#define cs 10

View File

@ -15,6 +15,7 @@
*/
#include <TFT.h> // Arduino LCD library
#include <SPI.h>
// pin definition for the Uno
#define cs 10

View File

@ -17,6 +17,7 @@
*/
#include <TFT.h> // Arduino LCD library
#include <SPI.h>
// pin definition for the Uno
#define cs 10

View File

@ -23,6 +23,7 @@
// include the necessary libraries
#include <Esplora.h>
#include <SPI.h>
#include <SD.h>
#include <TFT.h> // Arduino LCD library

View File

@ -16,6 +16,7 @@
#include <Esplora.h>
#include <TFT.h> // Arduino LCD library
#include <SPI.h>
void setup() {
Serial.begin(9600);

View File

@ -17,6 +17,7 @@
#include <Esplora.h>
#include <TFT.h> // Arduino LCD library
#include <SPI.h>
// initial position of the cursor
int xPos = EsploraTFT.width() / 2;

View File

@ -16,6 +16,7 @@
#include <Esplora.h>
#include <TFT.h> // Arduino LCD library
#include <SPI.h>
// position of the line on screen
int xPos = 0;

View File

@ -16,6 +16,7 @@
#include <Esplora.h>
#include <TFT.h> // Arduino LCD library
#include <SPI.h>
// horizontal start and end positions
int yStart = EsploraTFT.height() / 2;

View File

@ -19,6 +19,7 @@
#include <Esplora.h>
#include <TFT.h> // Arduino LCD library
#include <SPI.h>
// variables for the position of the ball and paddle
int paddleX = 0;

View File

@ -20,6 +20,7 @@
// include the necessary libraries
#include <Esplora.h>
#include <TFT.h> // Arduino LCD library
#include <SPI.h>
char tempPrintout[3]; // array to hold the temperature data