Blink example using the Pico SDK with Wokwi configuration
mkdir -p build
cd build
cmake ..
make -j4
To simulate this project, install Wokwi for VS Code. Open the project directory in Visual Studio Code, press F1 and select "Wokwi: Start Simulator".
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