Skip to Content
Hands-On Robotics Programming with C++
book

Hands-On Robotics Programming with C++

by Dinesh Tavasalkar
March 2019
Intermediate to advanced
312 pages
7h 37m
English
Packt Publishing
Content preview from Hands-On Robotics Programming with C++

Main block

The main block inside App Inventor 2 is similar to a when loop, which indicates an action to carry out when something happens. The main block is always connected to an intermediate block. We cannot connect the final block directly to the main block. The main block consists of a drop-down menu from which we can choose between multiple components that are of the same type. For example, look at the following screenshot:

You can see that in a scenario where you have multiple buttons, you can choose a particular button from the drop-down list.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn Robotics Programming

Learn Robotics Programming

Danny Staple
C++ Reactive Programming

C++ Reactive Programming

Praseed Pai, Peter Abraham

Publisher Resources

ISBN: 9781789139006Supplemental Content