micropython/examples/rp2
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
..
pio_1hz.py docs/rp2: Make LED have exactly 50% duty cycle in PIO 1Hz example. 2023-01-12 17:07:43 +11:00
pio_exec.py rp2: Add new port to Raspberry Pi RP2 microcontroller. 2021-01-30 00:42:29 +11:00
pio_pinchange.py rp2: Add new port to Raspberry Pi RP2 microcontroller. 2021-01-30 00:42:29 +11:00
pio_pwm.py all: Update Python formatting to latest Black version 22.1.0. 2022-02-02 16:49:55 +11:00
pio_uart_rx.py rp2/rp2_pio: Add fifo_join support for PIO. 2021-04-17 00:45:38 +10:00
pio_uart_tx.py rp2: Add new port to Raspberry Pi RP2 microcontroller. 2021-01-30 00:42:29 +11:00
pio_ws2812.py rp2: Add new port to Raspberry Pi RP2 microcontroller. 2021-01-30 00:42:29 +11:00
pwm_fade.py rp2: Add new port to Raspberry Pi RP2 microcontroller. 2021-01-30 00:42:29 +11:00