From 045ce9724e856deaf0c8e6433cf7e63047047224 Mon Sep 17 00:00:00 2001 From: arofarn Date: Sun, 27 Jun 2021 20:16:10 +0200 Subject: [PATCH] Fix bad information in docstring --- trellism4_extended.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/trellism4_extended.py b/trellism4_extended.py index 09c5660..e699b08 100644 --- a/trellism4_extended.py +++ b/trellism4_extended.py @@ -165,8 +165,15 @@ class NeoTrellisM4: """ Driver for the Adafruit NeoTrellis. :param left_part: if None (or ommitted) the class create a - neotrellis.multitrellis-compatible object for the right half of the - TrellisM4 board. Else for the left part. + neotrellis.multitrellis-compatible object for the left half of the + TrellisM4 board. Else le right part is created and the arguement + should be the left part object. + + .. code-block:: python + + from neotrellism4 import NeoTrellisM4 + trellis_left = NeoTrellisM4() + trellis_right = NeoTrellisM4(left_part=trellis_left) """ EDGE_HIGH = const(0)