swift-embedded-examples
swift-embedded-examples copied to clipboard
Added pico-w blink example
Hi! I tried using the pico-blink-sdk with a Pico-W, but it didn't work because the LED module is on the wireless chip. For the Pico-W, the pico-sdk doesn't define PICO_DEFAULT_LED_PIN; instead, it uses CYW43_WL_GPIO_LED_PIN. Ref: Pico-SDK
I also tried using CYW43_WL_GPIO_LED_PIN to make the Pico-W blink. By linking several necessary modules, I was able to get it working successfully!
I thought this example might be useful to other developers, so I added it!