Im doing project for my school and I started doing arduino smart tollgate. I’v been doing fine so far until i got stuck in while loop. I want my ultrasonic sensor to protect my car from toll. Any help would be great thanks.
sketch_toll.ino (11.2 KB)