Getting started

Open up a new, blank program within your current project. This is where we will put the MyBlocks together to make the full RC program.

Start by adding your steerCenter MyBlock at the immediate start of the program. Centering and resetting the steering is the first thing the Falcon will do when the program starts. The MyBlock will be followed by a loop that repeats indefinitely:

Place a switch within the loop. Change the switch's setting to Infrared Sensor | Measure | Remote, port 4, channel 1. Then, assign button ID 0 to the first case; select this as the default case by clicking on the circle on the button ID's tab (if this ...

Get Building Smart LEGO MINDSTORMS EV3 Robots 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.