Duplicate code eliminated in pin_mode_bulk
Eliminate duplicated code in pin_mode_bulk. Thanks @zostay.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-seesaw
.
Read the docs for info on how to use it.