Can somebody give me an arduino code for this track. 6 ir sensors.
We cannot write your program for you, but we can answer questions about your code and help you with specific problems that you run into. You might find looking at the “Example Project #1: Line Following” section in the Pololu 3pi Robot User’s Guide helpful to better understand how to go about writing the line-following algorithm for your course. Also, to help get you started, you can look at the LineFollower example under the “examples” folder on the Zumo 32U4 library’s GitHub page.
If you write some code and run into problems, you can post your entire code here, and I would be happy to take a look at it.