if (Right = (Left))
if (Right == Left)
if (pos < 100) pos++;
int pos = 0; // variable to store the servo position
unsigned char pos;
as to the " if (pos < 100) pos++; " bit i am not sure about it at all as i have put several sketches together to get this far so any thing any one can suggest would be of great help.