Skip to content

Commit 70d98ab

Browse files
authored
Merge pull request #81 from clach04/ili9341_doccomments
drivers/ili9341 doc pointers for parameters
2 parents 02f943f + 4bc950d commit 70d98ab

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

drivers/ili93xx/ili9341.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ def rgb(r, g, b):
5454

5555
# Transpose width & height for landscape mode
5656
def __init__(self, spi, cs, dc, rst, height=240, width=320, usd=False, init_spi=False):
57+
"""For more information see
58+
https://github.com/peterhinch/micropython-nano-gui/blob/master/DRIVERS.md#32-drivers-for-ili9341
59+
"""
5760
self._spi = spi
5861
self._cs = cs
5962
self._dc = dc

drivers/ili93xx/ili9341_8bit.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ def rgb(r, g, b):
4242

4343
# Transpose width & height for landscape mode
4444
def __init__(self, spi, cs, dc, rst, height=240, width=320, usd=False, init_spi=False):
45+
"""For more information see
46+
https://github.com/peterhinch/micropython-nano-gui/blob/master/DRIVERS.md#32-drivers-for-ili9341
47+
"""
4548
self._spi = spi
4649
self._cs = cs
4750
self._dc = dc

0 commit comments

Comments
 (0)