Access Pico W pins #835
-
Hi, I just had a look at the datasheet for the Pico W and was wondering how to access these pins: These are different to the digital pins 0, 1 and 2 and |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 13 replies
-
My understanding, after going thru the CYW43 code bringing up WiFi is that WL0 == WL_GPIO0, and the other 2 pins are used as part of the WiFi PA and not general purpose. They are not accessible from the Pico except thru the CYW43 chip + binary blob and driver. You might get a better answer at the Raspberry Pi Pico forums to a HW question like this: https://forums.raspberrypi.com |
Beta Was this translation helpful? Give feedback.
-
here's an example
|
Beta Was this translation helpful? Give feedback.
-
Sorry ... with digitalWrite(LED_DEFAULT, xxx), I received that error: 'LED_DEFAULT' was not declared in this scope I searched 'LED_DEFAULT' in ...packages\rp2040\hardware\rp2040\1.9.8 but it's not #defined anywhere |
Beta Was this translation helpful? Give feedback.
-
My Version is the 2.7.0 sorry! AND it should be digitalWrite(LED_BUILTIN, xxx) then it works. thanks! |
Beta Was this translation helpful? Give feedback.
-
@jorgechacblogspot try LED_BUILTIN instead. |
Beta Was this translation helpful? Give feedback.
-
@jorgechacblogspot Does this work? (with no include files):
|
Beta Was this translation helpful? Give feedback.
My understanding, after going thru the CYW43 code bringing up WiFi is that WL0 == WL_GPIO0, and the other 2 pins are used as part of the WiFi PA and not general purpose. They are not accessible from the Pico except thru the CYW43 chip + binary blob and driver.
You might get a better answer at the Raspberry Pi Pico forums to a HW question like this: https://forums.raspberrypi.com