programming for Line tracking robot

hello,
i m just a newbie on robotic. i need program for LTR for tracking white line with background black using 3 ir sensor and only digital pins..

Try this