Arduino TollGate with ultrasonic & rfid & servo
hello guys.
im doing project school , started doing arduino smart tollgate. i'v been doing fine far until got stuck in while loop. want ultrasonic sensor protect car toll. great thanks.
im doing project school , started doing arduino smart tollgate. i'v been doing fine far until got stuck in while loop. want ultrasonic sensor protect car toll. great thanks.
i assume while loop stuck in one:
code: [select]
while ( distance < 4){
delay(500);
}
if loop entered value of distance never changes , yes, stuck in it. there block of code @ beginning of loop() sets value of distance, need include in while loop, it's chance you'll have of getting out of it.
Arduino Forum > Using Arduino > Programming Questions > Arduino TollGate with ultrasonic & rfid & servo
arduino
Comments
Post a Comment