Programming IQ

The Next Level challenge also has a programming challenge part. I did a practice run on programming in the living room today.  I wrote a fairly simple little program for the Flex robot to go pick up a hub, deliver it on a little mat and return to the starting location. For fun I also changed the Touch LED colors every time a job is completed and added a TADAH!! sound at the end.  It was all done in Robot-C, I’m still getting used to the syntax being quite different from Arduino. 

The code looks like this:

Leave a Reply

Comments:

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  Subscribe  
Notify of
%d bloggers like this: