diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2019-01-18 12:59:23 -0800 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2019-01-18 12:59:23 -0800 |
| commit | dc024cf411e5a77bffc3662aa581c667284e67e6 (patch) | |
| tree | 4e51e021c0fcf43a1e81523c243785f56e54e671 /shared-bindings/displayio/ParallelBus.c | |
| parent | 58a2009cc11ac6b080d182854d0f669a6f65647a (diff) | |
Add a bit more to the docs
Diffstat (limited to 'shared-bindings/displayio/ParallelBus.c')
| -rw-r--r-- | shared-bindings/displayio/ParallelBus.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/shared-bindings/displayio/ParallelBus.c b/shared-bindings/displayio/ParallelBus.c index e1079acb5..2f9967866 100644 --- a/shared-bindings/displayio/ParallelBus.c +++ b/shared-bindings/displayio/ParallelBus.c @@ -40,7 +40,7 @@ //| .. currentmodule:: displayio //| //| :class:`ParallelBus` -- Manage updating a display over SPI four wire protocol -//| ========================================================================== +//| ============================================================================== //| //| Manage updating a display over SPI four wire protocol in the background while Python code runs. //| It doesn't handle display initialization. @@ -52,6 +52,13 @@ //| Create a ParallelBus object associated with the given pins. The bus is inferred from data0 //| by implying the next 7 additional pins on a given GPIO port. //| +//| :param microcontroller.Pin: The first data pin. The rest are implied +//| :param microcontroller.Pin command: Data or command pin +//| :param microcontroller.Pin chip_select: Chip select pin +//| :param microcontroller.Pin write: Write pin +//| :param microcontroller.Pin read: Read pin +//| :param microcontroller.Pin reset: Reset pin +//| STATIC mp_obj_t displayio_parallelbus_make_new(const mp_obj_type_t *type, size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) { enum { ARG_data0, ARG_command, ARG_chip_select, ARG_write, ARG_read, ARG_reset }; static const mp_arg_t allowed_args[] = { |
