micropython/examples
Stig Bjørlykke 209a6bb6b7 docs/rp2: Make LED have exactly 50% duty cycle in PIO 1Hz example.
This ensures the same number of cycles are used for LED on and LED off in
the PIO 1Hz example.  It's also possible to swap the first set() and the
irq() to avoid using an extra instruction, but this tutorial is a good
example of how to calculate the cycles.

Signed-off-by: Stig Bjørlykke <stig@bjorlykke.org>
2023-01-12 17:07:43 +11:00
..
SDdatalogger
bluetooth
embedding
hwapi
natmod
network
rp2 docs/rp2: Make LED have exactly 50% duty cycle in PIO 1Hz example. 2023-01-12 17:07:43 +11:00
unix
usercmodule
accel_i2c.py
accellog.py
asmled.py
asmsum.py
conwaylife.py
ledangle.py
mandel.py
micropython.py
pins.py
pyb.py
switch.py