1
0

motor_driver.h 492 B

1234567891011121314151617
  1. /***************************************************************
  2. Description: Motor driver function definitions - by James Nugen
  3. Author: www.corvin.cn
  4. History: 20180209: init this file;
  5. ****************************************************************/
  6. #ifndef __MOTOR_DRIVER_H__
  7. #define __MOTOR_DRIVER_H__
  8. #define FORWARDS true
  9. #define BACKWARDS false
  10. void initMotorsPinMode(void);
  11. boolean directionWheel(int wheel);
  12. void setMotorSpeeds(int ASpeed, int BSpeed, int CSpeed);
  13. #endif