My first ever robot I got


This is a light follower robot that stops in front of objects.
Its made from a Microbot from Picaxe.
Code:
symbol left = b9
symbol right = b7
symbol difference = b4
main:
if pinC.6 = 1 then
halt A
halt B
wait 2
endif
readadc 7, left
readadc 9, right
pause 10
pulsout C.2, 2
pulsin C.2, 1, w0
w1 = w0 * 5 / 58
if w1 < 10 then
halt A
halt B
goto main
endif
if left > right then
difference = left - right
if difference >= 10 then
halt B
forward A
else
forward A
forward B
endif
else
difference = right - left
if difference >= 10 then
forward B
halt A
else
forward A
forward B
endif
endif
goto main



@ Tue, 2012-01-03 08:47
COOL
cool bot,can u tell me more details about the components.
@ Sun, 2011-11-13 19:00
It's worth mentioning that
It's worth mentioning that you did a really nice job on your photography too. Nice work!
@ Sat, 2011-11-26 15:34
+5 on the pictures
M,
that is one VERY tidy looking Robot and the pictures are stunning probably the best I have seen of late! What camera did you use , certainly not a mobile phone one LoL
@ Sun, 2011-12-04 03:24
i used a sony camera, lots
i used a sony camera, lots of lamps and torches, picasa for finishing touches! :D
@ Mon, 2011-11-14 06:58
Thank you!
I took a long time to take the pictures. :)
@ Sun, 2011-11-13 13:07
Very neat bot you've got
Very neat bot you've got there!
@ Mon, 2011-11-14 06:59
Thank you! :D
Thank you! :D
@ Sat, 2011-11-12 17:21
cool bot mate, gotta see
cool bot mate, gotta see mre, and welcome to LMR!
@ Sat, 2011-11-12 15:54
More details please, looks
More details please, looks great from the front side but wanna see more.... :-)
@ Sat, 2011-11-12 14:44
what a grate start
awesome bot kit's are grate :)