hi3861软件
This commit is contained in:
13
robot_sg90.h
Normal file
13
robot_sg90.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef ROBOT_SG90_H
|
||||
#define ROBOT_SG90_H
|
||||
|
||||
void set_angle(int angle);
|
||||
void engine_turn_left(void);
|
||||
void engine_turn_right(void);
|
||||
void regress_middle(void);
|
||||
|
||||
// 新增的90度精确旋转函数
|
||||
void servo_rotate_clockwise_90(void);
|
||||
void servo_rotate_counter_clockwise_90(void);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user