summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordherrada <dylan.herrada@adafruit.com>2020-07-02 14:15:43 -0400
committerdherrada <dylan.herrada@adafruit.com>2020-07-02 14:15:43 -0400
commitdd27fdfbe34a6d67e5019d211e96bc8cda3ee77d (patch)
treeacb1900a77580742b7c0c2ca8f7f99d3a6bbdb6b
parent51fd286cbfc26ee36bef96445172c01744573279 (diff)
Added type hints to countio
-rw-r--r--shared-bindings/countio/Counter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/countio/Counter.c b/shared-bindings/countio/Counter.c
index 8db795015..64e8701b7 100644
--- a/shared-bindings/countio/Counter.c
+++ b/shared-bindings/countio/Counter.c
@@ -13,7 +13,7 @@
//| """Counter will keep track of the number of falling edge transistions (pulses) on a
//| given pin"""
//|
-//| def __init__(self, pin_a):
+//| def __init__(self, pin_a: microcontroller.Pin):
//| """Create a Counter object associated with the given pin. It tracks the number of
//| falling pulses relative when the object is constructed.
//|