summaryrefslogtreecommitdiff
path: root/shared-bindings/microcontroller/Pin.c
diff options
context:
space:
mode:
authordherrada <dylan.herrada@gmail.com>2020-05-07 15:59:52 -0400
committerdherrada <dylan.herrada@gmail.com>2020-05-07 15:59:52 -0400
commite31e9eeaa1e1dad1bd2243b7be76012aa2ee64b8 (patch)
tree1daaec28f2c720b735bb0336c09b6b068efa6158 /shared-bindings/microcontroller/Pin.c
parent4f33a20d17c7b7688e5dd1ee37346ff2d4f4a340 (diff)
Did math, microcontroller, and multiterminal
Diffstat (limited to 'shared-bindings/microcontroller/Pin.c')
-rw-r--r--shared-bindings/microcontroller/Pin.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/shared-bindings/microcontroller/Pin.c b/shared-bindings/microcontroller/Pin.c
index 67aecaf66..cad0d67b1 100644
--- a/shared-bindings/microcontroller/Pin.c
+++ b/shared-bindings/microcontroller/Pin.c
@@ -33,18 +33,19 @@
#include "py/runtime.h"
#include "supervisor/shared/translate.h"
-//| .. currentmodule:: microcontroller
+//| class Pin:
+//| """.. currentmodule:: microcontroller
//|
-//| :class:`Pin` --- Pin reference
-//| ------------------------------------------
+//| :class:`Pin` --- Pin reference
+//| ------------------------------------------
//|
-//| Identifies an IO pin on the microcontroller.
+//| Identifies an IO pin on the microcontroller."""
//|
-//| .. class:: Pin()
-//|
-//| 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, ):
+//| """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."""
+//| ...
//|
static void get_pin_name(const mcu_pin_obj_t *self, qstr* package, qstr* module, qstr* name) {