Project

General

Profile

Statistics
| Revision:

root / trunk / code / projects / colonet / testing / robot_routine_reg_test / motor.h @ 13

History | View | Annotate | Download (363 Bytes)

1
/*
2
        motor.h - Contains the function prototypes for controlling motors
3
        author:  Tom Lauwers
4
*/
5

    
6
#ifndef _MOTOR_H
7
#define _MOTOR_H
8

    
9
#include <avr/io.h>
10

    
11
// Function descriptions can be found in motor.c
12
void motors_init(void);
13
void motor1_set(int direction, int speed);
14
void motor2_set(int direction, int speed);
15
void motors_off( void );
16

    
17

    
18
#endif