CHAPTER 12SnapShotBot—Program It
You might think that programming the SnapShotBot is a little more involved than the previous bots. Although the program might be a little larger in size, the truth is that you're already experienced with all the programming blocks you'll need.
For this chapter, I'm going to walk you through the programming using a slightly different method. When I program my bots, many times I create the program in full and then upload it to my bot for testing. From there, I add and remove blocks as needed. Although this is perfectly fine for many bots, for a large program this might not be the best way to test your bot. If you find a mistake early in the program, it can cause you to have to delete other portions of your program. ...
Get LEGO MINDSTORMS NXT: The Mayan Adventure now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.