This commit is contained in:
2024-09-25 15:56:26 +08:00
parent 6581d6ff88
commit 7cb354967c
2 changed files with 3 additions and 3 deletions

View File

@@ -13,7 +13,7 @@
#include "ultrasonic_driver.h"
#define ULTRASONIC_CYCLES 0x05U
#define ULTRASONIC_TRAN_US 1000 // (ms)
#define ULTRASONIC_TRAN_US 50 // (ms)
extern uint32_t capture_value;
@@ -33,7 +33,7 @@ int main(void)
/* ---------- debug start ---------- */
ultrasonic_transmit_delay(240);
ultrasonic_transmit_delay(250);
recevice_exti_config();
ultrasonic_echo_timer_config();