09f6919c93
Because this must be treated like an in-use pin for all other purposes, unfortunately a special case must be added in shared-bindings. Multiple AnalogIn objects for VOLTAGE_MONITOR can be created (because in use tracking isn't working) but this causes no harm. Testing performed: Read the monitor, then imported wifi. When the pin state was insufficiently restored, the second step would fail with debug messages about do_ioctl timeout. ``` import analogio, board a = analogio.AnalogIn(board.VOLTAGE_MONITOR) print(a.value) import wifi ``` Closes: #7020 |
||
---|---|---|
.. | ||
bindings | ||
boards | ||
common-hal | ||
lib | ||
lwip_inc | ||
lwip_src | ||
mbedtls | ||
peripherals | ||
pioasm | ||
sdk@2e6142b15b | ||
sdk_config/pico | ||
supervisor | ||
audio_dma.c | ||
audio_dma.h | ||
background.c | ||
background.h | ||
boot_stage2.ld | ||
fatfs_port.c | ||
flash_info.h.jinja | ||
gen_stage2.py | ||
link.ld | ||
Makefile | ||
mpconfigport.h | ||
mpconfigport.mk | ||
mphalport.c | ||
mphalport.h | ||
qstrdefsport.h | ||
README.rst | ||
stage2.c.jinja |
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