Skip to content

Commit

Permalink
Update PID_V4.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSniper1421 authored Dec 14, 2023
1 parent e38a072 commit 0f9f2aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PID_V4.ino
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ void loop()
distance=USS();
if(digitalRead(BUTTON)==LOW)
Flag=0;
if(Flag==0)
if(Flag==0 && Mode==1)
{
FollowLine();
while(distance<setdistance&&distance>0)
Expand Down

0 comments on commit 0f9f2aa

Please sign in to comment.