Skip to content

Commit 46cb5f0

Browse files
author
Federico Fissore
committed
Removing useless includes from examples
1 parent 9fadb54 commit 46cb5f0

File tree

26 files changed

+0
-26
lines changed

26 files changed

+0
-26
lines changed

build/shared/examples/09.USB/Keyboard/KeyboardLogout/KeyboardLogout.ino

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
#define UBUNTU 2
3131

3232
#include "Keyboard.h"
33-
#include "HID.h"
3433

3534
// change this to match your platform:
3635
int platform = OSX;

build/shared/examples/09.USB/Keyboard/KeyboardMessage/KeyboardMessage.ino

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
*/
2222

2323
#include "Keyboard.h"
24-
#include "HID.h"
2524

2625
const int buttonPin = 4; // input pin for pushbutton
2726
int previousButtonState = HIGH; // for checking the state of a pushButton

build/shared/examples/09.USB/Keyboard/KeyboardReprogram/KeyboardReprogram.ino

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
*/
2929

3030
#include "Keyboard.h"
31-
#include "HID.h"
3231

3332
// use this option for OSX.
3433
// Comment it out if using Windows or Linux:

build/shared/examples/09.USB/Keyboard/KeyboardSerial/KeyboardSerial.ino

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
*/
2121

2222
#include "Keyboard.h"
23-
#include "HID.h"
2423

2524
void setup() {
2625
// open the serial port:

build/shared/examples/09.USB/KeyboardAndMouseControl/KeyboardAndMouseControl.ino

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323

2424
#include "Keyboard.h"
2525
#include "Mouse.h"
26-
#include "HID.h"
2726

2827
// set pin numbers for the five buttons:
2928
const int upButton = 2;

build/shared/examples/09.USB/Mouse/ButtonMouseControl/ButtonMouseControl.ino

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
*/
2626

2727
#include "Mouse.h"
28-
#include "HID.h"
2928

3029
// set pin numbers for the five buttons:
3130
const int upButton = 2;

build/shared/examples/09.USB/Mouse/JoystickMouseControl/JoystickMouseControl.ino

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
*/
3030

3131
#include "Mouse.h"
32-
#include "HID.h"
3332

3433
// set pin numbers for switch, joystick axes, and LED:
3534
const int switchPin = 2; // switch to turn on and off mouse control

libraries/SD/examples/CardInfo/CardInfo.ino

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
by Tom Igoe
2121
*/
2222
// include the SD library:
23-
#include <SPI.h>
2423
#include <SD.h>
2524

2625
// set up variables using the SD utility library functions:

libraries/SD/examples/Datalogger/Datalogger.ino

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
2121
*/
2222

23-
#include <SPI.h>
2423
#include <SD.h>
2524

2625
const int chipSelect = 4;

libraries/SD/examples/DumpFile/DumpFile.ino

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
2121
*/
2222

23-
#include <SPI.h>
2423
#include <SD.h>
2524

2625
const int chipSelect = 4;

libraries/SD/examples/Files/Files.ino

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
This example code is in the public domain.
1818
1919
*/
20-
#include <SPI.h>
2120
#include <SD.h>
2221

2322
File myFile;

libraries/SD/examples/ReadWrite/ReadWrite.ino

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
1919
*/
2020

21-
#include <SPI.h>
2221
#include <SD.h>
2322

2423
File myFile;

libraries/SD/examples/listfiles/listfiles.ino

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
This example code is in the public domain.
2222
2323
*/
24-
#include <SPI.h>
2524
#include <SD.h>
2625

2726
File root;

libraries/TFT/examples/Arduino/TFTBitmapLogo/TFTBitmapLogo.ino

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
*/
2121

2222
// include the necessary libraries
23-
#include <SPI.h>
2423
#include <SD.h>
2524
#include <TFT.h> // Arduino LCD library
2625

libraries/TFT/examples/Arduino/TFTColorPicker/TFTColorPicker.ino

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
// #define rst 1
2626

2727
#include <TFT.h> // Arduino LCD library
28-
#include <SPI.h>
2928

3029
TFT TFTscreen = TFT(cs, dc, rst);
3130

libraries/TFT/examples/Arduino/TFTDisplayText/TFTDisplayText.ino

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
*/
1717

1818
#include <TFT.h> // Arduino LCD library
19-
#include <SPI.h>
2019

2120
// pin definition for the Uno
2221
#define cs 10

libraries/TFT/examples/Arduino/TFTEtchASketch/TFTEtchASketch.ino

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*/
1616

1717
#include <TFT.h> // Arduino LCD library
18-
#include <SPI.h>
1918

2019
// pin definition for the Uno
2120
#define cs 10

libraries/TFT/examples/Arduino/TFTGraph/TFTGraph.ino

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*/
1616

1717
#include <TFT.h> // Arduino LCD library
18-
#include <SPI.h>
1918

2019
// pin definition for the Uno
2120
#define cs 10

libraries/TFT/examples/Arduino/TFTPong/TFTPong.ino

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
*/
1818

1919
#include <TFT.h> // Arduino LCD library
20-
#include <SPI.h>
2120

2221
// pin definition for the Uno
2322
#define cs 10

libraries/TFT/examples/Esplora/EsploraTFTBitmapLogo/EsploraTFTBitmapLogo.ino

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323

2424
// include the necessary libraries
2525
#include <Esplora.h>
26-
#include <SPI.h>
2726
#include <SD.h>
2827
#include <TFT.h> // Arduino LCD library
2928

libraries/TFT/examples/Esplora/EsploraTFTColorPicker/EsploraTFTColorPicker.ino

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
#include <Esplora.h>
1818
#include <TFT.h> // Arduino LCD library
19-
#include <SPI.h>
2019

2120
void setup() {
2221
Serial.begin(9600);

libraries/TFT/examples/Esplora/EsploraTFTEtchASketch/EsploraTFTEtchASketch.ino

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
#include <Esplora.h>
1919
#include <TFT.h> // Arduino LCD library
20-
#include <SPI.h>
2120

2221
// initial position of the cursor
2322
int xPos = EsploraTFT.width() / 2;

libraries/TFT/examples/Esplora/EsploraTFTGraph/EsploraTFTGraph.ino

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
#include <Esplora.h>
1818
#include <TFT.h> // Arduino LCD library
19-
#include <SPI.h>
2019

2120
// position of the line on screen
2221
int xPos = 0;

libraries/TFT/examples/Esplora/EsploraTFTHorizon/EsploraTFTHorizon.ino

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
#include <Esplora.h>
1818
#include <TFT.h> // Arduino LCD library
19-
#include <SPI.h>
2019

2120
// horizontal start and end positions
2221
int yStart = EsploraTFT.height() / 2;

libraries/TFT/examples/Esplora/EsploraTFTPong/EsploraTFTPong.ino

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
#include <Esplora.h>
2121
#include <TFT.h> // Arduino LCD library
22-
#include <SPI.h>
2322

2423
// variables for the position of the ball and paddle
2524
int paddleX = 0;

libraries/TFT/examples/Esplora/EsploraTFTTemp/EsploraTFTTemp.ino

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
// include the necessary libraries
2121
#include <Esplora.h>
2222
#include <TFT.h> // Arduino LCD library
23-
#include <SPI.h>
2423

2524
char tempPrintout[3]; // array to hold the temperature data
2625

0 commit comments

Comments
 (0)