Book Image

Learning Lego Mindstorms EV3

By : Gary Garber
Book Image

Learning Lego Mindstorms EV3

By: Gary Garber

Overview of this book

Table of Contents (19 chapters)
Learning LEGO MINDSTORMS EV3
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
10
Other Programming Languages
Index

IR remote buttons


The EV3 MINDSTORMS software Help provides good information on using the IR remote to control and send information to the robot. The following screenshot is an adapted version of what LEGO presents. Although the IR remote has only five buttons, the combination of buttons will allow you to send more commands than the Brick Buttons. Using different combinations of the IR remote buttons, the IR remote can send 11 different codes to brick; thus, you can actually have 11 different choices in a case structure.

In the preceding screenshot, I have written a code with six different choices in addition to the default choice in the case structure.