From d5dac33672ae1e940b3fda4ee4f4e940229d996f Mon Sep 17 00:00:00 2001 From: sowgro Date: Tue, 4 Nov 2025 23:34:37 -0500 Subject: get most interrupt handlers working for project pt2 --- project/Core/Inc/Project/local_control.h | 17 +++++++++++++++++ project/Core/Inc/Project/project.h | 2 +- project/Core/Inc/Project/remote_control.h | 17 +++++++++++++++++ 3 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 project/Core/Inc/Project/local_control.h create mode 100644 project/Core/Inc/Project/remote_control.h (limited to 'project/Core/Inc') diff --git a/project/Core/Inc/Project/local_control.h b/project/Core/Inc/Project/local_control.h new file mode 100644 index 0000000..b691cde --- /dev/null +++ b/project/Core/Inc/Project/local_control.h @@ -0,0 +1,17 @@ +/* + * local_control.h + * + * Created on: Nov 4, 2025 + * Author: sowgro + */ + +#ifndef INC_PROJECT_LOCAL_CONTROL_H_ +#define INC_PROJECT_LOCAL_CONTROL_H_ + +void local_control_start(); + +void local_control_loop(); + +void local_control_stop(); + +#endif /* INC_PROJECT_LOCAL_CONTROL_H_ */ diff --git a/project/Core/Inc/Project/project.h b/project/Core/Inc/Project/project.h index da3590c..1d07abd 100644 --- a/project/Core/Inc/Project/project.h +++ b/project/Core/Inc/Project/project.h @@ -9,6 +9,6 @@ #define INC_PROJECT_H_ void project_run(); -void handle_input(char buffer[], uint8_t *state); +uint8_t *project_get_state(); #endif /* INC_PROJECT_H_ */ diff --git a/project/Core/Inc/Project/remote_control.h b/project/Core/Inc/Project/remote_control.h new file mode 100644 index 0000000..469e4ab --- /dev/null +++ b/project/Core/Inc/Project/remote_control.h @@ -0,0 +1,17 @@ +/* + * remote_control.h + * + * Created on: Nov 4, 2025 + * Author: sowgro + */ + +#ifndef INC_PROJECT_REMOTE_CONTROL_H_ +#define INC_PROJECT_REMOTE_CONTROL_H_ + +void remote_control_start(); + +void remote_control_loop(); + +void remote_control_stop(); + +#endif /* INC_PROJECT_REMOTE_CONTROL_H_ */ -- cgit v1.2.3