Wednesday, November 21, 2007

One switch and the ifelse command

Look here for the reason for these Logo posts.

Setup: Use one switch connected to port 1 and one motor connected to port A. Download this program:
to go
loop [reverse]
end

to reverse
aon
ifelse switch1
[athisway]
[athatway]
end

No comments :