We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ea4388 commit 915572cCopy full SHA for 915572c
adafruit_mpr121.py
@@ -30,8 +30,6 @@
30
* Adafruit's Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
31
"""
32
33
-from __future__ import annotations
34
-
35
import time
36
37
try:
@@ -94,10 +92,10 @@ class MPR121_Channel:
94
92
Not meant to be used directly.
95
93
96
97
- _mpr121: MPR121
+ _mpr121: "MPR121"
98
_channel: int
99
100
- def __init__(self, mpr121: MPR121, channel: int) -> None:
+ def __init__(self, mpr121: "MPR121", channel: int) -> None:
101
"""Creates a new ``MPR121_Channel`` instance.
102
103
:param mpr121: An instance of the touch sensor driver.
0 commit comments