circuitpython/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 all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
bluetooth examples/bluetooth: Add bonding/passkey demo. 2020-12-02 14:44:00 +11:00
embedding all: Use += rather than = everywhere for CFLAGS/LDFLAGS/LIBS. 2022-10-11 23:17:41 +11:00
hwapi top: Replace upip with mip everywhere. 2022-09-30 17:34:03 +10:00
natmod py/obj: Convert make_new into a mp_obj_type_t slot. 2022-09-19 19:06:15 +10:00
network all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
rp2 docs/rp2: Make LED have exactly 50% duty cycle in PIO 1Hz example. 2023-01-12 17:07:43 +11:00
unix all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
usercmodule examples/usercmodule: Add example of a native C class. 2022-11-23 11:46:17 +11:00
accel_i2c.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
accellog.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
asmled.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
asmsum.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
conwaylife.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
ledangle.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
mandel.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
micropython.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
pins.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
pyb.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00
switch.py all: Reformat C and Python source code with tools/codeformat.py. 2020-02-28 10:33:03 +11:00