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:

0 0 votes
Article Rating
Notify of

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

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x