* **board** - breakout-specific pin identities
* **busio** - hardware-driven interfaces for I2C, SPI, UART
* **digitalio** - digital input/output pins, using pin identities from board+microcontroller packages
+* **keypad** - support for scanning keys and key matrices
* **microcontroller** - chip-specific pin identities
* **micropython** - MicroPython-specific module
* **neopixel_write** - low-level interface to NeoPixels
* **pulseio** - contains classes that provide access to basic pulse IO (PWM)
* **pwmio** - contains classes that provide access to basic pulse IO (PWM)
+* **rainbowio** - provides the colorwheel() function
For details, see the `Blinka API reference
<https://circuitpython.readthedocs.io/projects/blinka/en/latest/index.html>`_.
.. automodule:: adafruit_blinka.microcontroller
:members:
+.. automodule:: analogio
+ :members:
+
.. automodule:: bitbangio
:members:
.. automodule:: digitalio
:members:
-.. automodule:: analogio
+.. automodule:: keypad
:members:
-.. automodule:: pulseio
+.. automodule:: microcontroller
+ :members:
+
+.. automodule:: micropython
:members:
.. automodule:: neopixel_write
:members:
+.. automodule:: pulseio
+ :members:
+
+.. automodule:: pwmio
+ :members:
+.. automodule:: rainbowio
+ :members:
@property
def events(self):
- """The `EventQueue` associated with this `Keys` object. (read-only)"""
+ """The ``EventQueue`` associated with this `Keys` object. (read-only)"""
return self._events
def _keypad_shiftregisterkeys_scan(self):
-"""Microcontroller pins"""
+"""
+`microcontroller` - Pin references and cpu functionality
+========================================================
+
+* Author(s): Melissa LeBlanc-Williams
+"""
import sys
import time
class Pin(Enum):
- """Reference Pin object"""
+ """
+ Identifies an IO pin on the microcontroller.
+
+ They are fixed by the hardware so they cannot be constructed on demand. Instead, use board or
+ microcontroller.pin to reference the desired pin.
+ """
def __init__(self, pin_id):
"""Identifier for pin, referencing platform-specific pin id"""
"""
`micropython` - MicroPython Specific Decorator Functions
-=================================================
+========================================================
* Author(s): cefn
"""