my robot no problem to follow the line...When my robot detect junction i want my robot to turn 90 deg..but my robot not turn 90 deg..why?? can any body help to to correct my code.....i'm not using qti sensor..just file name...tq very much...
Why do you read the LED status instead of the Input itself ?
I would have to agree.
Your movement and LED status lights should be based upon the input of the sensors and pushbuttons, respectively, instead of having the LED state determine your movement. Rewrite your code to reflect this and it will be a step in the right direction.
Comments
You also might want to add the "BS2_Functions "
I would have to agree.
Your movement and LED status lights should be based upon the input of the sensors and pushbuttons, respectively, instead of having the LED state determine your movement. Rewrite your code to reflect this and it will be a step in the right direction.
Bruce