These different ways of giving the user feedback can help speed up development, diagnosis and debugging. In addition to the lights and sounds, the user will be able to monitor a variable called state. Once the user's code completes, the lights go red, all the motors are shutdown and a different distinctive tone is played.Īdditionally, the user can debug and test his program in the mBlock IDE.Once the user pushes and releases the button on the mBot, the lights go blue and the user's code is run.The harness starts up up with a distinctive tone and flashing green lights to let the user know it is ready to run.This project provides a simple development harness for building mBot programs. I used code blocks to build a test harness that I can develop programs in and run easily from within the mBlock IDE as well as upload to Arduino. This information is based on mBlock 3.2.2 and Arduino 1.6.5 Dev Environment
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |