mirror of
https://github.com/stevenhowes/TinyGo-Pico-PWM.git
synced 2026-05-26 15:53:47 +01:00
333 B
333 B
TinyGo-Pico-PWM
A working example of PWM for the Pi Pico using TinyGo.
I was frustraded by various examples (includig the official docs) being wrong for the Pico so I decided to make my own. It flashes the onboard LED in a 'breathe' pattern.
Makefile included, so you can 'make install', alternatively:
tinygo flash -target=pico