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
Summary of Contents for Thales Kit
Page 1: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 Jimmy SunFounder Jun 04 2021 ...
Page 2: ......
Page 4: ...ii ...
Page 6: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 2 CONTENTS ...
Page 140: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 136 Chapter 3 For MicroPython User ...
Page 164: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 160 Chapter 4 For Arduino User ...