Select the switch tab with the top brick button highlighted; it is time to program Hungry mode! In this mode, you can feed the Timmyton LEGO bricks. The color sensor in the mouth will recognize the color of the blocks, and the robot will react differently to each one.
You may notice that the switch block has expanded quite a bit. It will continue to expand as we add more programming. It will still be very large if you open up an empty switch case because it stretches to meet the size of the case with the largest program chunk and remains that size for all of the other cases.
Start by adding the typical blocks, plus a medium motor block (port A, On for Rotations, total of three rotations), placed directly before Mode Loop:
Get Building Smart LEGO MINDSTORMS EV3 Robots now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.