23 #define LEFT_MOTOR_SPEED_CONTROL 5
24 #define RIGHT_MOTOR_SPEED_CONTROL 6
25 #define LEFT_MOTOR_DIRECTION_CONTROL 4
26 #define RIGHT_MOTOR_DIRECTION_CONTROL 7
28 #define DISTANCE_SENSOR_INPUT_PIN A5
30 #define HORIZONTAL_SERVO_PIN 13
31 #define VERTICAL_SERVO_PIN 12
96 void error(
char *error_message);
101 int scaleSpeedToRangeOfInt(
int speed);
102 Servo horizontalServo;
Definition: DFRduino.h:32
void setHorizontalHeadPosition(int angle)
Definition: DFRduino.cpp:90
void setMotors(int left, int right)
Definition: DFRduino.cpp:52
void setVerticalHeadPosition(int angle)
Definition: DFRduino.cpp:96
void setDirection(char direction)
Definition: DFRduino.cpp:31
int readDistanceInCentimeters()
Definition: DFRduino.cpp:73
DFRduino()
Definition: DFRduino.cpp:15