© Charles Bell 2021
C. BellBeginning IoT Projectshttps://doi.org/10.1007/978-1-4842-7234-3_10

10. Balancing Act

Charles Bell1  
(1)
Warsaw, VA, USA
 

Now that we’ve learned how to use Qwiic modules, we can go a bit further by learning how to write our code using more common constructs in the language. For example, we may need to make a class to keep certain functions or pieces of data, pass variables among functions, and so on. We will see more of these in this chapter as we continue to learn to make more sophisticated projects.

In this chapter, we will learn how to use a multiple degrees of freedom (DoF1) module to build a spirit level, sometimes called a bubble level or digital level. We will also see how we can seamlessly combine Qwiic and STEMMA ...

Get Beginning IoT Projects: Breadboard-less Electronic Projects 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.