-
|
Now that Node-RED MCU is configured and running (see #26), I would like the blink the built-in LED of the Raspberry Pi Pico W. How to address a GPIO? Which node should be used? The GPIO-out section doesn't say much.
Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
|
As you note, the Pico W doesn't connect the on-board LED directly to the MCU. Instead, it routes through the Wi-Fi part. To accommodate this hardware design, the Digital constructor supports that pin on GPIO bank 1. The LED is pin 0 of bank 1, so use 32 as the pin with the rpi-gpio out Node ((32 * 1) + 0). (I don't have a board with me to try, so this is based on reviewing the implementation!) |
Beta Was this translation helpful? Give feedback.
-
|
Using pin 32 doesn't seem to work. Neither other standard pins, like GPIO15. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you so much for your help. I can now turn the LED of the Raspberry Pi Pico W on and off through MQTT. To be continued... |
Beta Was this translation helpful? Give feedback.


Thank you so much for your help.
I can now turn the LED of the Raspberry Pi Pico W on and off through MQTT.
To be continued...