December 2022
Intermediate to advanced
292 pages
5h 45m
English
In the previous chapter, we learned how to work with the files stored on Micro:bit using MicroPython.
This chapter will explore how to use analog components and interface them to analog pins on the Micro:bit. We will also explore using various analog devices, such as a potentiometer, a joystick, a Pulse-Width Modulation (PWM) signal, a servo, a photoresistor, and various functions supported by Micro:bit for analog applications.
In this chapter, we will cover the following topics:
Let’s explore the analog input and PWM with Micro:bit and MicroPython.