2025-03-15 09:40:38 +08:00
|
|
|
void danger_status(void);
|
2025-04-07 23:02:14 +08:00
|
|
|
void people_danger_status(void);
|
2025-03-15 16:07:17 +08:00
|
|
|
void normal_status(void);
|
2025-03-15 09:40:38 +08:00
|
|
|
void fan_on(void);
|
|
|
|
void fan_off(void);
|
|
|
|
void light_on(void);
|
2025-03-21 22:10:18 +08:00
|
|
|
void light_off(void);
|
|
|
|
void beep_on(void);
|
|
|
|
void beep_off(void);
|
|
|
|
int status_init(void);
|
2025-04-25 21:32:20 +08:00
|
|
|
void location_danger_status(int id);
|
|
|
|
void servo_turn(int id);
|
2025-03-21 22:10:18 +08:00
|
|
|
|
|
|
|
extern int light_status;
|
|
|
|
extern int fan_status ;
|
2025-04-20 22:02:43 +08:00
|
|
|
extern struct rt_event robot_event;
|
2025-03-21 22:10:18 +08:00
|
|
|
|
|
|
|
#define EVENT_DELAY (1 << 3)
|