Working code

This commit is contained in:
stevenhowes
2022-03-08 20:17:16 +00:00
parent 1ab19d26cc
commit 6df4535ed5
4 changed files with 74 additions and 1 deletions
+7 -1
View File
@@ -1,2 +1,8 @@
# TinyGo-Pico-PWM
A working example of PWM for the Pi Pico using TinyGo
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