sherzaad:
what happened if instead of
"else if((left.read() < BLACKLINETHRESHOLD) && (center.read() < BLACKLINETHRESHOLD) && (right.read() < BLACKLINETHRESHOLD) )",
you used
"if((left.read() < BLACKLINETHRESHOLD) && (center.read() < BLACKLINETHRESHOLD) && (right.read() < BLACKLINETHRESHOLD) ) "basically create a second if/elseif statement for BLACKLINETHRESHOLD case
Still no luck, making it an If statement still only lets it follow the black line and not the colored. Does the order of the statements matter? Should I group the turns with the turns and the straight's with the straights?