SunFounder Thales Kit for Raspberry Pi Pico, Release 1.0
Each GPIO pin of Pico supports PWM, but it actually has a total of 16 independent PWM outputs (instead of 30),
distributed between GP0 to GP15 on the left, and the PWM output of the right GPIO is equivalent to the left copy.
What we need to pay attention to is to avoid setting the same PWM channel for different purposes during programming.
(For example, GP0 and GP16 are both PWM_0A)
After understanding this knowledge, let us try to achieve the effect of Fading LED.
Wiring
1. Here we use the GP15 pin of the Pico board.
2. Connect one end (either end) of the 220 ohm resistor to GP15, and insert the other end into the free row of the
breadboard.
3. Insert the anode lead of the LED into the same row as the end of the 220 resistor, and connect the cathode lead
across the middle gap of the breadboard to the same row.
4. Connect the LED cathode to the negative power bus of the breadboard.
5. Connect the negative power bus to the GND pin of Pico.
Note:
The color ring of the 220 ohm resistor is red, red, black, black and brown.
3.4. Projects
77
Содержание Thales Kit
Страница 1: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 Jimmy SunFounder Jun 04 2021 ...
Страница 2: ......
Страница 4: ...ii ...
Страница 6: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 2 CONTENTS ...
Страница 10: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 6 Chapter 1 Introduction to Raspberry Pi Pico ...
Страница 12: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 8 Chapter 2 What is Included in This Kit ...
Страница 13: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 2 1 Components List 2 1 Components List 9 ...
Страница 42: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 38 Chapter 2 What is Included in This Kit ...
Страница 140: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 136 Chapter 3 For MicroPython User ...
Страница 164: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 160 Chapter 4 For Arduino User ...