00001
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef MOTOR_H_
00015 #define MOTOR_H_
00016
00019 void initDCMotorA(void);
00020
00024 void initDCMotorB(void);
00025
00026
00031 void motorAplus(unsigned char pwmValue);
00032
00037 void motorAminus(unsigned char pwmValue);
00038
00039
00044 void motorBplus(unsigned char pwmValue);
00045
00050 void motorBminus(unsigned char pwmValue);
00051
00052
00053
00054
00060 void pwm_timer1_init(void);
00061
00067 void pwm_timer1A_set(unsigned char value);
00068
00074 void pwm_timer1B_set(unsigned char value);
00075
00076
00077 #endif