#include "clock.h"
#include "modbus.h"
-#define ECHO_TIMEOUT (CLOCK_HZ/10) // 10 ms
-#define MEASUREMENT_WAIT (CLOCK_HZ/3) // three triggers per second
+#define ECHO_TIMEOUT (CLOCK_HZ/20) // 50 ms
+#define MEASUREMENT_WAIT (4*ECHO_TIMEOUT)
#define N_TRIGGERS 3
#define N_SENSORS 12