HAOHENG TANG'S PROJECT

HTMAA23

Week 6: Electronics Production
...
debugging

Testing the connection right after soldering.

Only the LED connected to Pin D4 is lit up. I am testing to see if it is caused by bad soldering or code errors.

...

It turns out that when I connect the wire linked to D4 to wires linked to other pins, the LEDs that didn't work previously can be lit up.

...
...

However, when I connect the LED dirrectly to its corresponding pin directly with a jumper wire, it is not lit up.

This proves that there is no current output from pins other than D4. It is caused by coding errors rather than solding problem.

...

So, I checked the pin number for each pin on XIAO RP2040, and found that the pin numbers are actually assgined like this.

...

Finally, it works!

...

...

I'd like to make a bowknot as the one used by Detective Conan!!

...
Link to my Micropython codes.