circuitpython/ports/raspberrypi
Jeff Epler 9eebb3dbab rotaryio: Add the ability to set the divisor
At present, Adafruit's rotary encoders all move 1 quadrature cycle per
detent, so we originally hard-coded division-by-4.  However, other
encoders exist, including ones without detents, ones with 2 detents per
cycle, and others with 4 detents per cycle.

The new `divisor` property and constructor argument allows selecting
a divisor of 1, 2, or 4; with the default of 4 giving backward
compatibility.

The property is not supported (yet?) on espressif MCUs; it throws an
error if a value other than 4 is set.
2021-10-16 09:43:45 -05:00
..
bindings/rp2pio Rename make_new's parameter to `all_args` 2021-10-15 13:49:33 -05:00
boards Update ports/raspberrypi/boards/melopero_shake_rp2040/pins.c 2021-10-15 16:52:25 +02:00
common-hal rotaryio: Add the ability to set the divisor 2021-10-16 09:43:45 -05:00
peripherals run code formatting script 2021-03-15 19:27:36 +05:30
sdk@bfcbefafc5 Update pico-sdk to 1.2.0, using raspberrypi repo 2021-07-20 17:31:29 -04:00
sdk_config/pico merged commits from main 2021-09-19 15:51:43 +02:00
supervisor merged commits from main 2021-09-19 15:51:43 +02:00
.gitignore Add initial RP2040 support 2021-01-20 19:16:56 -08:00
Makefile Always use python3 2021-10-15 15:11:21 -05:00
README.rst Add initial RP2040 support 2021-01-20 19:16:56 -08:00
audio_dma.c merged commits from main 2021-09-19 15:51:43 +02:00
audio_dma.h merged commits from main 2021-09-19 15:51:43 +02:00
background.c run code formatting script 2021-03-15 19:27:36 +05:30
background.h Add initial RP2040 support 2021-01-20 19:16:56 -08:00
boot_stage2.ld Redo RP2040 flash settings 2021-03-18 16:55:42 -07:00
fatfs_port.c Merge tag 'v1.17' into merge-1.17 2021-10-15 08:20:54 -05:00
flash_info.h.jinja Fix Arduino RP2040 flash size 2021-07-21 11:02:55 -07:00
gen_stage2.py Fix Arduino RP2040 flash size 2021-07-21 11:02:55 -07:00
link.ld Redo RP2040 flash settings 2021-03-18 16:55:42 -07:00
mpconfigport.h run code formatting script 2021-03-15 19:27:36 +05:30
mpconfigport.mk Fix various RP2040 audio dma things: (see detailed commit message) 2021-07-08 08:14:49 -04:00
mphalport.c Merge tag 'v1.17' into merge-1.17 2021-10-15 08:20:54 -05:00
mphalport.h run code formatting script 2021-03-15 19:27:36 +05:30
qstrdefsport.h Add initial RP2040 support 2021-01-20 19:16:56 -08:00
stage2.c.jinja Fix doc build and address feedback 2021-03-22 15:24:27 -07:00

README.rst

RP2040
==================

This port supports many development boards that utilize RP2040 chips. See
https://circuitpython.org/downloads for all supported boards.


Building
--------

For build instructions see this guide: https://learn.adafruit.com/building-circuitpython/


Port Specific modules
---------------------

.. toctree::
    ../../shared-bindings/rp2pio/index