00001
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef MOTOR_H_
00017 #define MOTOR_H_
00018
00023 void initDCMotorA(void);
00024
00030 void initDCMotorB(void);
00031
00032
00039 void motorAplus(unsigned char pwmValue);
00040
00047 void motorAminus(unsigned char pwmValue);
00048
00049
00056 void motorBplus(unsigned char pwmValue);
00057
00064 void motorBminus(unsigned char pwmValue);
00065
00066
00067
00068
00076 void pwm_timer1_init(void);
00077
00085 void pwm_timer1A_set(unsigned char value);
00086
00094 void pwm_timer1B_set(unsigned char value);
00095
00096
00097 #endif