motor.h File Reference

Contains definitions for controlling the motors. More...

#include <avr/io.h>

Go to the source code of this file.

Defines

#define FORWARD   1
 make the motors go forwards
#define BACKWARD   0
 make the motors go backwards

Functions

void motors_init (void)
 Initialize the motors.
void motor1_set (int direction, int speed)
 Set speed and direction of motor1.
void motor2_set (int direction, int speed)
 Set speed and direction of motor2.
void motors_off (void)
 Turn the motors off.


Detailed Description

Contains definitions for controlling the motors.

Contains definitions and functions for controlling the motors.

Author:
Colony Project, CMU Robotics Club Based on Tom Lauwer's Firefly Library

Generated on Wed Sep 26 17:39:30 2007 for libdragonfly by  doxygen 1.4.6