The line following using pid is better. but m unable to understand the procedure to do it on Pic 16 microcontroller...
will someone help with this? first i took values from sensor,subtracted it from correct value,hence i got error value,what to do after that?