Default value for maximum measurement distance is 4m, since HC-SR04 sensor can't measure reliably beyond that. However, if you are using another sensor or if you you don't care about distances larger ...
Product link: https://www.elecrow.com/esp32-display-series-hmi-touch-screen.html Code link: https://github.com/Elecrow-RD/CrowPanel-ESP32-Display-Course-File ...