Programming External Push Buttons, Buzzers, and Stepper Motors
In the previous chapter, we worked with LEDs, seven segments, and their related components, observing them with the help of examples.
This chapter will explore using components such as switches, buzzers, and motors. We will explore their working principles and applications using the MicroPython programs and the Micro:bit. After completing this chapter, you will know how to use the following components:
- Push buttons
- Slide switches
- Buzzers
- Stepper motors
Let us get started by learning how to program these components.