Update README
This commit is contained in:
parent
9d99877772
commit
0227ec6349
@ -35,14 +35,16 @@ Usage Example
|
|||||||
|
|
||||||
To use Trellis as 2 Neotrellis (seesaw):
|
To use Trellis as 2 Neotrellis (seesaw):
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python3
|
||||||
|
|
||||||
from neotrellism4 import NeoTrellisM4
|
from neotrellism4 import NeoTrellisM4
|
||||||
trellis_left = NeoTrellisM4()
|
trellis_left = NeoTrellisM4()
|
||||||
trellis_right = NeoTrellisM4(left_part=trellis_left)
|
trellis_right = NeoTrellisM4(left_part=trellis_left)
|
||||||
|
|
||||||
To use TrellisM4 tilled with Neotrellis (seesaw):
|
To use TrellisM4 tilled with Neotrellis (seesaw):
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python3
|
||||||
|
|
||||||
from board import SCL, SDA
|
from board import SCL, SDA
|
||||||
import busio
|
import busio
|
||||||
from adafruit_neotrellis.neotrellism4 import NeoTrellisM4
|
from adafruit_neotrellis.neotrellism4 import NeoTrellisM4
|
||||||
|
Reference in New Issue
Block a user