I want to find a program to make my 3pi follow the white line on black background. Can you suggest something? How can I arrange the simple line following program which follows black line on white background to follow white line on black backgorund. Thank you
I look at these links and make changes like:
unsigned int sensors;
unsigned int position = read_line_white(sensors,IR_EMITTERS_ON);
unsigned char i;
sensors[i] = 1000-sensors[i];
but it still doesn’t follow what should i add to this program?
I believe that read_line_white expects the 3pi’s sensors to be calibrated. Have you done this in your code? If so, could you post your code so we can take a look at it?