swift-embedded-examples icon indicating copy to clipboard operation
swift-embedded-examples copied to clipboard

Added pico-w blink example

Open yochidros opened this issue 1 year ago • 0 comments

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!

yochidros avatar Apr 21 '24 04:04 yochidros