Page 1 of 1

Raspberry Pi Pico pin25(LED)

Posted: Sat Oct 28, 2023 8:13 pm
by KikeRico
Hi,

I'm triying to develop a program with Raspberry Pi Pico. My first intention is to use the integrated LED in the Pico, and in the datasheet that LED is connected to Pico's pin 25. It sound easy, but in fact I canĀ“t find that pin in the target in flowcode! :o
Raspberry Pi Pico pin25.PNG
Raspberry Pi Pico pin25.PNG (12.76 KiB) Viewed 2794 times
Please somebody give and advice How I can use the Pico LED?

Thanks for your help.

Re: Raspberry Pi Pico pin25(LED)

Posted: Sat Oct 28, 2023 8:16 pm
by KikeRico
Sorry in fact LED is attached to GP25, not phisical pin 25 :D
GP25_LED.PNG
GP25_LED.PNG (114.3 KiB) Viewed 2792 times

Re: Raspberry Pi Pico pin25(LED)

Posted: Sat Oct 28, 2023 9:12 pm
by chipfryer27
Hi

The pin is available if you use the RP2020 target instead of Pico. However you can still access the LED as per this post from Leigh. The post is about using both cores but also explains how to access the LED using a calculation.

viewtopic.php?f=3&t=2065&p=12406&hilit=pico#p12406

Regards

Re: Raspberry Pi Pico pin25(LED)

Posted: Sat Oct 28, 2023 9:43 pm
by KikeRico
Hi chipfryer24,

I have tried the Leigh solution about GP25, but unsuccesfully :-(
PORTA pin error.PNG
PORTA pin error.PNG (22.55 KiB) Viewed 2782 times
On onther hand for RPI-2040 the pin GP25 is present, as you mentionend. But unfortunaly I don't have activate that chip.

Re: Raspberry Pi Pico pin25(LED)

Posted: Sat Oct 28, 2023 10:01 pm
by chipfryer27
Hi

I'll check Leigh's code tomorrow, and I did get it to work on my Pico. Just as an FYI you can pretty much use the RP2040 chip component instead of the Pico as most features are compatible.

Regards