This might be a dumb question, but how would you write the line following code using two banners, and how would you place them on the robot.
We have tried to write our own code, but it wouldn't work. (I don't have it on this computer.)
Also do you have to connect one sensor to two inputs, or can it work with just one?
EDIT:
I think the code went something like this:
PHP Code:
if (digi_in01 == 1)
{
pwm01 = 130
}
else
{
pwm01 = 124
}
if (digi_in02 == 1)
{
pwm02 = 130
}
else
{
pwm02 = 124
}