Skip to content

wokwi/pico-sdk-blink

Repository files navigation

Pico SDK Blink - Wokwi for VSCode

Blink example using the Pico SDK with Wokwi configuration

Building

mkdir -p build
cd build
cmake ..
make -j4

Simulation

To simulate this project, install Wokwi for VS Code. Open the project directory in Visual Studio Code, press F1 and select "Wokwi: Start Simulator".

Automated Testing

This project includes a Wokwi Automation Scenario in blink.test.yaml. The scenario runs the simulation for 1 second, and verifies that the LED is blinking. The scenario is run automatically on every commit, using wokwi-ci-action. You can also run the scenario locally, using the wokwi-cli tool:

wokwi-cli . --scenario blink.test.yaml --timeout 1000