Alex's 4 Wheel Remote Control Car

This is a web page about a project I made in my computer class. I made a 4 wheel Lego remote control car. I made it with two wheels first then added wheels in the front. I had to keep changing the designs of the wheels until finally I decided to attach them to the bottom of the car using an axle. When I finished programming it I ran it through a course. Its best time was 52 seconds. Below is a picture and the programming I wrote:

TO START
ATHATWAY
CTHATWAY
LOOP [DRIVE]
END

TO DRIVE
if switch1 [LEFT]
IF SWITCH2 [FORWARDS]
if switch3 [BACK]
end

TO LEFT
CSETPOWER 7
CTHATWAY
CON WAIT 30 COFF
END

TO RIGHT
CSETPOWER 7
ASETPOWER 7
ATHATWAY
CTHISWAY
CON AON WAIT 20 AOFF COFF
END

TO FORWARDS
ATHATWAY
CTHATWAY
AON CON WAIT 10 AOFF COFF
END

TO BACK
ATHISWAY
CTHISWAY
AON CON WAIT 10 AOFF COFF
END

Vina Danks Home Page||Student Lego Projects