circuitpython/shared-bindings/digitalio
Jeff Epler 8aa1969c61 add, use a default exit object
This just delegates to .deinit().

Also, change default __enter__ to a macro that reuses the
identically-beving "identity_obj", and harmonize a few sites so that
the naming s consistent.

Saves about 800 bytes on metro rp2350.
2025-02-07 15:10:58 -06:00
..
__init__.c document RP2350-E9 limitations 2024-09-13 17:54:24 -04:00
__init__.h clean up some include files 2024-07-26 18:38:13 -04:00
DigitalInOut.c add, use a default exit object 2025-02-07 15:10:58 -06:00
DigitalInOut.h guard2once -s ... 2024-05-19 20:40:44 -04:00
Direction.c Switch to ruff like MicroPython 2025-02-05 11:09:15 -08:00
Direction.h guard2once -s ... 2024-05-19 20:40:44 -04:00
DriveMode.c Switch to ruff like MicroPython 2025-02-05 11:09:15 -08:00
DriveMode.h guard2once -s ... 2024-05-19 20:40:44 -04:00
Pull.c Switch to ruff like MicroPython 2025-02-05 11:09:15 -08:00
Pull.h guard2once -s ... 2024-05-19 20:40:44 -04:00