hi3861软件

This commit is contained in:
2025-10-18 16:05:39 +08:00
parent 3d7a4dcb4d
commit 30edbda7de
36 changed files with 1888 additions and 1785 deletions

13
robot_sg90.h Normal file
View 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