#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. |
Contains definitions and functions for controlling the motors.