You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
438 B

8 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef __PRU_MOTORS_MODULE_HEADER__
  2. #define __PRU_MOTORS_MODULE_HEADER__
  3. #include "pru_time.h"
  4. #include "../pwmss/sys_pwmss.h"
  5. #define VERTICAL_MOTOR_SET_POINT 4000 // period of 50KHz by 5 nSec periods
  6. #define HORISONTAL_MOTOR_SET_POINT 40000 // period of 5KHz by 5 nSec periods
  7. void initVerticalMotor( void );
  8. void initHorizontalMotor( void );
  9. void stopHorizontalMotor( void );
  10. void stopVerticalMotor( void );
  11. #endif