Last week, my intermediate class were looking at using flowcharts to plan coding. They planned the small sections of how the mBot has to behave to follow the black line. Blog post here
Today, we put together all the parts from the previous couple of weeks. The binary was used to code the mBots and the flowchart and code was all put together to get the final outcome.
The students then had a great time racing the mBots round the course, changing the speed variables and adding lights at every direction change.
No comments:
Post a Comment