Simplify the use of timers, timer13 sends ultrasonic waves, timer16 counts (debounce time and flight time)

The ultrasonic transducer is driven only after each command is issued.
This commit is contained in:
2025-08-25 17:05:47 +08:00
parent 16c5a31a63
commit 2d752eed5e
8 changed files with 98 additions and 136 deletions

View File

@@ -81,6 +81,8 @@ void command_process(void);
*/
void handle_command(const uint8_t *cmd, uint8_t len);
void ultrasonic_distance_raw_value_report(void);
/** @} */ // end of Command group
#endif // COMMAND_H