
Programming is the next step that you should do after building your line follower. This is a sample of the programming for line follower robot that are using PIC16877A microcontroller. This program can be use for the circuit on my previous post Line Follower Robot. If you haven’t already read it, I suggest you read it before going any further in this post.
#include <pic.h>
__CONFIG(0x3732);
void main ()
{ ...