X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/1fa4862c3469261191e4e61ff5aa1f163b15517f..9d61af1c25aa8a4e2236f196b6f64409e0984eb4:/src/microcontroller/__init__.py diff --git a/src/microcontroller/__init__.py b/src/microcontroller/__init__.py index 9e05c81..fda16cc 100755 --- a/src/microcontroller/__init__.py +++ b/src/microcontroller/__init__.py @@ -1,4 +1,9 @@ -"""Microcontroller pins""" +""" +`microcontroller` - Pin references and cpu functionality +======================================================== + +* Author(s): Melissa LeBlanc-Williams +""" import sys import time @@ -14,7 +19,12 @@ def delay_us(delay): 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"""