Project

General

Profile

Revision 1496

Added by John Sexton over 14 years ago

Reverted "libdragonfly" folder back to version before Init Checking was implemented and did "make dist" to recompile the library. BOM LEDs now shine
correctly.

View differences:

motor.h
39 39
#define _MOTOR_H
40 40

  
41 41
#include <avr/io.h>
42

  
43 42
/**
44 43
 * @addtogroup motors
45 44
 * @{
......
51 50
#define BACKWARD 0
52 51

  
53 52
/** @brief Initialize the motors **/
54
int motors_init(void);
53
void motors_init(void);
55 54
/** @brief Set speed and direction of motor1 
56 55
 *  @deprecated use the left motor function instead. it's more intuitive and easier to read.**/
57
int motor1_set(int direction, int speed);
56
void motor1_set(int direction, int speed);
58 57
/** @brief Set speed and direction of motor2 
59 58
 *  @deprecated use the right motor function instead. it's more intuitive and easier to read.**/
60
int motor2_set(int direction, int speed);
59
void motor2_set(int direction, int speed);
61 60
/** @brief Set speed and direction of left motor **/
62
int motor_l_set(int direction, int speed);
61
void motor_l_set(int direction, int speed);
63 62
/** @brief Set speed and direction of right motor **/
64
int motor_r_set(int direction, int speed);
63
void motor_r_set(int direction, int speed);
65 64
/** @brief Turn the motors off **/
66
int motors_off(void);
65
void motors_off(void);
67 66

  
68 67
/**@}**/ // end addtogroup
69 68

  

Also available in: Unified diff