first commit
This commit is contained in:
16
MPU6050/APP/servo.h
Normal file
16
MPU6050/APP/servo.h
Normal file
@ -0,0 +1,16 @@
|
||||
#ifndef _PWM_H
|
||||
#define _PWM_H
|
||||
|
||||
#include "system.h"
|
||||
|
||||
|
||||
#define PWM_EN PAout(4);
|
||||
void Servo_Init(void);
|
||||
void PWM_SetCompare2(uint16_t Compare);
|
||||
void PWM_SetCompare3(uint16_t Compare);
|
||||
void Rotate(u8 a,u8 b,u8 c);
|
||||
void Rotate_clockwise(void);
|
||||
void Rotate_counterclockwise(void);
|
||||
void Rotate_stop(void);
|
||||
void Rotate_shache(void);
|
||||
#endif
|
Reference in New Issue
Block a user