kopia lustrzana https://github.com/peterhinch/micropython-nano-gui
Merge pull request #81 from clach04/ili9341_doccomments
drivers/ili9341 doc pointers for parameterspull/82/head
commit
70d98ab5d2
|
@ -54,6 +54,9 @@ class ILI9341(framebuf.FrameBuffer):
|
||||||
|
|
||||||
# Transpose width & height for landscape mode
|
# Transpose width & height for landscape mode
|
||||||
def __init__(self, spi, cs, dc, rst, height=240, width=320, usd=False, init_spi=False):
|
def __init__(self, spi, cs, dc, rst, height=240, width=320, usd=False, init_spi=False):
|
||||||
|
"""For more information see
|
||||||
|
https://github.com/peterhinch/micropython-nano-gui/blob/master/DRIVERS.md#32-drivers-for-ili9341
|
||||||
|
"""
|
||||||
self._spi = spi
|
self._spi = spi
|
||||||
self._cs = cs
|
self._cs = cs
|
||||||
self._dc = dc
|
self._dc = dc
|
||||||
|
|
|
@ -42,6 +42,9 @@ class ILI9341(framebuf.FrameBuffer):
|
||||||
|
|
||||||
# Transpose width & height for landscape mode
|
# Transpose width & height for landscape mode
|
||||||
def __init__(self, spi, cs, dc, rst, height=240, width=320, usd=False, init_spi=False):
|
def __init__(self, spi, cs, dc, rst, height=240, width=320, usd=False, init_spi=False):
|
||||||
|
"""For more information see
|
||||||
|
https://github.com/peterhinch/micropython-nano-gui/blob/master/DRIVERS.md#32-drivers-for-ili9341
|
||||||
|
"""
|
||||||
self._spi = spi
|
self._spi = spi
|
||||||
self._cs = cs
|
self._cs = cs
|
||||||
self._dc = dc
|
self._dc = dc
|
||||||
|
|
Ładowanie…
Reference in New Issue