Can I use line following and color code detection in same time? There are green squares in the corner of an intersection which indicates where i need to turn. I mean if there is a T- intersection and there is a green square in the right corner the robot needs to turn right. Is it possible to implement?
Unfortunately, the color code detection is part of the color connected components program. You could try switching programs between line tracking and ccc using the changeProg function.