DFRduino Arduino Library  0.0.1
Provides an object used to control a DFRduino based robot
 All Classes Files Functions
Classes | Macros
DFRduino.h File Reference
#include "Arduino.h"
#include <Servo.h>

Go to the source code of this file.

Classes

class  DFRduino
 

Macros

#define LEFT_MOTOR_SPEED_CONTROL   5
 
#define RIGHT_MOTOR_SPEED_CONTROL   6
 
#define LEFT_MOTOR_DIRECTION_CONTROL   4
 
#define RIGHT_MOTOR_DIRECTION_CONTROL   7
 
#define DISTANCE_SENSOR_INPUT_PIN   A5
 
#define HORIZONTAL_SERVO_PIN   13
 
#define VERTICAL_SERVO_PIN   12
 

Detailed Description

Author
Will Price
Date
09/01/2014
See Also
DFRduino.cpp for implementation

DFRduino is an Arduino class that encapsulates the behaviour of the DFRduino robot, it provides methods to set motor speed or direction and read the distance from it's IR sensor. The ability to move the servo motors is also implemented in the set*HeadPosition methods.

See Also
http://www.dfrobot.com/wiki/index.php/DFRduino_Romeo-All_in_one_Controller_V1.1(SKU:DFR0004), for documentation on the controller