Lesson 4 : Analog Input

Theory 

In this lesson we shall see how to read the analog value. For this we will use the potentiometer dial as the input to the Maker Nano RP2040

Component Used

  1. Jumper Wire

  2. Finger Adjust Preset 10K

  3. Breadboard 8.5x5.5cm (400 Holes)

Code

 

 

Result

By turning the potentiometer, the LED on pin 3 will blink according to the potentiometer value.




Chat hỗ trợ
Chat ngay