Removing useless includes from examples

This commit is contained in:
Federico Fissore 2015-10-02 12:05:56 +02:00
parent 9fadb545da
commit 46cb5f0a5c
26 changed files with 0 additions and 26 deletions

View File

@ -30,7 +30,6 @@
#define UBUNTU 2
#include "Keyboard.h"
#include "HID.h"
// change this to match your platform:
int platform = OSX;

View File

@ -21,7 +21,6 @@
*/
#include "Keyboard.h"
#include "HID.h"
const int buttonPin = 4; // input pin for pushbutton
int previousButtonState = HIGH; // for checking the state of a pushButton

View File

@ -28,7 +28,6 @@
*/
#include "Keyboard.h"
#include "HID.h"
// use this option for OSX.
// Comment it out if using Windows or Linux:

View File

@ -20,7 +20,6 @@
*/
#include "Keyboard.h"
#include "HID.h"
void setup() {
// open the serial port:

View File

@ -23,7 +23,6 @@
#include "Keyboard.h"
#include "Mouse.h"
#include "HID.h"
// set pin numbers for the five buttons:
const int upButton = 2;

View File

@ -25,7 +25,6 @@
*/
#include "Mouse.h"
#include "HID.h"
// set pin numbers for the five buttons:
const int upButton = 2;

View File

@ -29,7 +29,6 @@
*/
#include "Mouse.h"
#include "HID.h"
// set pin numbers for switch, joystick axes, and LED:
const int switchPin = 2; // switch to turn on and off mouse control

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -16,7 +16,6 @@
#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,7 +19,6 @@
#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,7 +20,6 @@
// 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