#error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_TEMPLATE_NAME"

@rafifaza888 your unformatted code and compiler error message have been removed because you didn’t fix the formatting as requested.

I’d suggest that you read this link to help you resolve your compiler issue…

But, your code has a serious flaw which will result in your sketch flooding the Blynk server with data.

You MUST remove this line of code from your void loop before re-compiling and uploading the sketch to your device…

ultrasonic();

You should read this article about calling the code in your ultrasonic() with a BlynkTimer instead…