Skip to content
This repository was archived by the owner on Sep 30, 2021. It is now read-only.

Commit c028cb4

Browse files
author
Federico Fissore
committed
Removing useless includes from examples
1 parent 6ee7a6a commit c028cb4

File tree

25 files changed

+0
-25
lines changed

25 files changed

+0
-25
lines changed

examples/explore/R01_Logo/R01_Logo.ino

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424

2525
#include <ArduinoRobot.h> // include the robot library
2626
#include <Wire.h>
27-
#include <SPI.h>
2827

2928
int commands[20]; // array for storing commands
3029

examples/explore/R02_Line_Follow/R02_Line_Follow.ino

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

2020
#include <ArduinoRobot.h> // include the robot library
2121
#include <Wire.h>
22-
#include <SPI.h>
2322

2423
long timerOrigin; // used for counting elapsed time
2524

examples/explore/R03_Disco_Bot/R03_Disco_Bot.ino

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
#include <ArduinoRobot.h> // include the robot library
2020
#include <Wire.h>
21-
#include <SPI.h>
2221

2322
/* Dancing steps:
2423
S: stop

examples/explore/R04_Compass/R04_Compass.ino

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
// include the robot library
2323
#include <ArduinoRobot.h>
2424
#include <Wire.h>
25-
#include <SPI.h>
2625

2726
int speedLeft;
2827
int speedRight;

examples/explore/R05_Inputs/R05_Inputs.ino

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

2222
#include <ArduinoRobot.h>
2323
#include <Wire.h>
24-
#include <SPI.h>
2524

2625
// default tempo and pitch of the music
2726
int tempo = 60;

examples/explore/R06_Wheel_Calibration/R06_Wheel_Calibration.ino

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
#include <ArduinoRobot.h>
1616
#include <Wire.h>
17-
#include <SPI.h>
1817

1918
void setup() {
2019
Serial.begin(9600);

examples/explore/R07_Runaway_Robot/R07_Runaway_Robot.ino

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
// include the robot library
2222
#include <ArduinoRobot.h>
2323
#include <Wire.h>
24-
#include <SPI.h>
2524

2625
int sensorPin = M1; // pin is used by the sensor
2726

examples/explore/R08_Remote_Control/R08_Remote_Control.ino

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
#include <IRremoteTools.h>
2929
#include <ArduinoRobot.h>
3030
#include <Wire.h>
31-
#include <SPI.h>
3231

3332
// Define a few commands from your remote control
3433
#define IR_CODE_FORWARD 284154405

examples/explore/R09_Picture_Browser/R09_Picture_Browser.ino

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535

3636
#include <ArduinoRobot.h> // include the robot library
3737
#include <Wire.h>
38-
#include <SPI.h>
3938

4039
const int NUM_PICS = 4; //Total number of pictures in Gallery
4140

examples/explore/R10_Rescue/R10_Rescue.ino

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424

2525
#include <ArduinoRobot.h> // include the robot library
2626
#include <Wire.h>
27-
#include <SPI.h>
2827

2928
void setup() {
3029
// initialize the Robot, SD card, display, and speaker

examples/explore/R11_Hello_User/R11_Hello_User.ino

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
#include <ArduinoRobot.h> // include the robot library
2020
#include <Wire.h>
21-
#include <SPI.h>
2221

2322
// include the utility function for ths sketch
2423
// see the details below

examples/learn/AllIOPorts/AllIOPorts.ino

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424

2525
#include <ArduinoRobot.h>
2626
#include <Wire.h>
27-
#include <SPI.h>
2827

2928
// use arrays to store the names of the pins to be read
3029
uint8_t arr[] = { M0, M1, M2, M3, M4, M5, M6, M7 };

examples/learn/Beep/Beep.ino

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
#include <ArduinoRobot.h>
2424
#include <Wire.h>
25-
#include <SPI.h>
2625

2726
void setup() {
2827
// initialize the robot

examples/learn/CleanEEPROM/CleanEEPROM.ino

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

2626
#include <ArduinoRobot.h>
2727
#include <Wire.h>
28-
#include <SPI.h>
2928

3029
void setup() {
3130
// initialize the robot

examples/learn/Compass/Compass.ino

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

1818
#include <ArduinoRobot.h>
1919
#include <Wire.h>
20-
#include <SPI.h>
2120

2221
void setup() {
2322
// initialize the robot

examples/learn/IRArray/IRArray.ino

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

2424
#include <ArduinoRobot.h>
2525
#include <Wire.h>
26-
#include <SPI.h>
2726

2827
void setup() {
2928
// initialize the robot

examples/learn/LCDDebugPrint/LCDDebugPrint.ino

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

1818
#include <ArduinoRobot.h>
1919
#include <Wire.h>
20-
#include <SPI.h>
2120

2221
int value;
2322

examples/learn/LCDPrint/LCDPrint.ino

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

1717
#include <ArduinoRobot.h>
1818
#include <Wire.h>
19-
#include <SPI.h>
2019

2120
int value;
2221

examples/learn/LCDWriteText/LCDWriteText.ino

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

2020
#include <ArduinoRobot.h>
2121
#include <Wire.h>
22-
#include <SPI.h>
2322

2423
void setup() {
2524
// initialize the robot

examples/learn/LineFollowWithPause/LineFollowWithPause.ino

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
#include <ArduinoRobot.h>
2424
#include <Wire.h>
25-
#include <SPI.h>
2625

2726
void setup() {
2827
// initialize the robot

examples/learn/Melody/Melody.ino

-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545

4646
#include <ArduinoRobot.h>
4747
#include <Wire.h>
48-
#include <SPI.h>
4948

5049
void setup() {
5150
// initialize the robot

examples/learn/MotorTest/MotorTest.ino

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

1717
#include <ArduinoRobot.h>
1818
#include <Wire.h>
19-
#include <SPI.h>
2019

2120
void setup() {
2221
// initialize the robot

examples/learn/SpeedByPotentiometer/SpeedByPotentiometer.ino

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
#include <ArduinoRobot.h>
2020
#include <Wire.h>
21-
#include <SPI.h>
2221

2322
void setup() {
2423
// initialize the robot

examples/learn/TurnTest/TurnTest.ino

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

1717
#include <ArduinoRobot.h>
1818
#include <Wire.h>
19-
#include <SPI.h>
2019

2120
void setup() {
2221
// initialize the robot

examples/learn/keyboardTest/keyboardTest.ino

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626

2727
#include <ArduinoRobot.h>
2828
#include <Wire.h>
29-
#include <SPI.h>
3029

3130
void setup() {
3231
// initialize the serial port

0 commit comments

Comments
 (0)