Let's Make Robots!

IR detector

Line detection routine too slow PICAXE 18X chip setfreq m8

Hi All,

I am currently working on code for my latest project being a sumobot style line detector. its actually my first wave before implementing a full scale sumobot. I have one issue currently that is bugging me and that has to do with the speed at which i am detecting and responding to the presence of a line. I have included my code below for general review and hints as to what I can change to make the line detection almost immediate.


Here is my code


setfreq m8

symbol LeftEye = 2

symbol RightEye = 1