RobotHardware-UESTC/Hardware/Firmware/GeekRobotBig_Firmware v1.0/HARDWARE/MOTO/moto.h

26 lines
427 B
C
Raw Normal View History

2024-01-18 02:06:22 +08:00
#ifndef __MOTO_H
#define __MOTO_H
#include "stm32f10x.h"
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̼<EFBFBD><CCBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ķ<EFBFBD>ֵ<EFBFBD><D6B5><EFBFBD>
//Ӳ<><D3B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD>
#define GO 0//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬ ǰ<><C7B0>
#define BACK 1//<2F><><EFBFBD><EFBFBD>
#define STOP 2//ͣ<><CDA3>
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
void MOTO_Left(char state);
//<2F>ҵ<EFBFBD><D2B5><EFBFBD>
void MOTO_Right(char state);
void MOTO_GPIO_Init(void);
void Car_Go(void);
void Car_Back(void);
void Car_Turn_Right(void);
void Car_Turn_Left(void);
void Car_Stop(void);
#endif