© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
G. KochLearn Engineering with LEGOhttps://doi.org/10.1007/978-1-4842-9280-8_2

2. Programming

Grady Koch1  
(1)
Yorktown, VA, USA
 

As described in Chapter 1, the Hub can control motors and sensors, with some functionality under control of the Hub’s front panel. But the real power of the Hub is that it can host computer programs for sophisticated control of inventions. This chapter will show how to program the Hub. Moreover, the process will be described of how to design and build computer programs, starting from a basic idea to the finished product of code. Programs are coded in the Robot Inventor app on a smart device or computer, then downloaded into the Hub’s ...

Get Learn Engineering with LEGO: A Practical Introduction to Engineering Concepts 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.