sorry but i hav tried dat, the pblm is how to write the logic . suppose my sensor senses black color then the receiver dsnt receiives light hence it is at a low potential, .
i am using port A as my input port then
IF(PORTA==0X00)
THEN TURN LEFT();
but the pblm is it is not working , now wat logic shall i write for the voltage received dat by the receiver,???