用于EagleEye3.0 规则集漏报和误报测试的示例项目,项目收集于github和gitee
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.
|
|
|
|
#include "stm32f10x.h"
|
|
|
|
|
|
|
|
|
|
#ifndef __SERVO_H
|
|
|
|
|
#define __SERVO_H
|
|
|
|
|
|
|
|
|
|
#define SERVO_LEFT 25
|
|
|
|
|
#define SERVO_FRONT 15
|
|
|
|
|
#define SERVO_RIGHT 7
|
|
|
|
|
|
|
|
|
|
#define ServoDelayTime 700 ///<<EFBFBD>ȴ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><EFBFBD>ʱ<EFBFBD>䣬<EFBFBD><EFBFBD>λΪ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void ServoInit(void);
|
|
|
|
|
|
|
|
|
|
void ServoTurn(int dir);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|