LINE FOLLOWER CODE /* Sensors input port - B1 B1_0 --------> Left sensor B1_4 --------> Right sensor Motors output port - B0 B0_0 --------> Enable pin of the left half of the H-bridge B0_1 --------> will drive the left motor in forward direction B0_2 --------> will drive the left motor in reverse direction B0_3 --------> will drive the right motor in forward direction B0_4 --------> Enable pin of the right half of the H-bridge B0_5 --------> will drive t right motor in reverse direction */ /*Delay function runs an idle loop to create a time delay. If the crystal used is of 16 MHz then the argument passed in delay is in 'milliseconds'.*/ void Delay(unsigned int itime) { unsigned int i,j; for(i=0;i