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 ...