aboutsummaryrefslogtreecommitdiff
path: root/libraries/Robot_Motor/examples
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@bug.st>2013-08-08 16:43:19 +0200
committerCristian Maglie <c.maglie@bug.st>2013-08-08 16:43:19 +0200
commita8193ed933d9c9954cefbfb541cde56770ab5b74 (patch)
tree80796833fecca5d7426f1d09f7ac9870bab5f062 /libraries/Robot_Motor/examples
parenta4c9fee673342304a5b12f7f2f7f9ecb9cb26d30 (diff)
parent5527c44aa443b20d63cf7a276180a36695233924 (diff)
Merge branch 'ide-1.5.x-library-to-new-format' into ide-1.5.x
Diffstat (limited to 'libraries/Robot_Motor/examples')
-rw-r--r--libraries/Robot_Motor/examples/Robot_IR_Array_Test/Robot_IR_Array_Test.ino26
-rw-r--r--libraries/Robot_Motor/examples/Robot_Motor_Core/Robot_Motor_Core.ino18
2 files changed, 0 insertions, 44 deletions
diff --git a/libraries/Robot_Motor/examples/Robot_IR_Array_Test/Robot_IR_Array_Test.ino b/libraries/Robot_Motor/examples/Robot_IR_Array_Test/Robot_IR_Array_Test.ino
deleted file mode 100644
index e201fd9..0000000
--- a/libraries/Robot_Motor/examples/Robot_IR_Array_Test/Robot_IR_Array_Test.ino
+++ /dev/null
@@ -1,26 +0,0 @@
-/* Motor Board IR Array Test
-
- This example of the Arduno robot's motor board returns the
- values read fron the 5 infrared sendors on the bottom of
- the robot.
-
-*/
-// include the motor board header
-#include <ArduinoRobotMotorBoard.h>
-
-String bar; // string for storing the informaton
-
-void setup(){
- // start serial communication
- Serial.begin(9600);
- // initialize the library
- RobotMotor.begin();
-}
-void loop(){
- bar=String(""); // empty the string
- // read the sensors and add them to the string
- bar=bar+RobotMotor.readIR(0)+' '+RobotMotor.readIR(1)+' '+RobotMotor.readIR(2)+' '+RobotMotor.readIR(3)+' '+RobotMotor.readIR(4);
- // print out the values
- Serial.println(bar);
- delay(100);
-}
diff --git a/libraries/Robot_Motor/examples/Robot_Motor_Core/Robot_Motor_Core.ino b/libraries/Robot_Motor/examples/Robot_Motor_Core/Robot_Motor_Core.ino
deleted file mode 100644
index f74f30a..0000000
--- a/libraries/Robot_Motor/examples/Robot_Motor_Core/Robot_Motor_Core.ino
+++ /dev/null
@@ -1,18 +0,0 @@
-/* Motor Core
-
- This code for the Arduino Robot's motor board
- is the stock firmware. program the motor board with
- this sketch whenever you want to return the motor
- board to its default state.
-
-*/
-
-#include <ArduinoRobotMotorBoard.h>
-
-void setup(){
- RobotMotor.begin();
-}
-void loop(){
- RobotMotor.parseCommand();
- RobotMotor.process();
-}