kopia lustrzana https://github.com/micropython/micropython
drivers/display: Don't include tests by default.
The tests can be copied to the board if needed. Also update the docs to reflect this change. Signed-off-by: Damien George <damien@micropython.org>pull/9218/head
rodzic
fb20dbe4d1
commit
655c29351a
|
@ -40,9 +40,9 @@ Testing the display
|
||||||
|
|
||||||
There is a test program which you can use to test the features of the display,
|
There is a test program which you can use to test the features of the display,
|
||||||
and which also serves as a basis to start creating your own code that uses the
|
and which also serves as a basis to start creating your own code that uses the
|
||||||
LCD. This test program is included in recent versions of the pyboard firmware
|
LCD. This test program is available on GitHub
|
||||||
and is also available on GitHub
|
|
||||||
`here <https://github.com/micropython/micropython/blob/master/drivers/display/lcd160cr_test.py>`__.
|
`here <https://github.com/micropython/micropython/blob/master/drivers/display/lcd160cr_test.py>`__.
|
||||||
|
Copy it to the board over USB mass storage, or by using `mpremote`.
|
||||||
|
|
||||||
To run the test from the MicroPython prompt do::
|
To run the test from the MicroPython prompt do::
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
.. _mpremote:
|
||||||
|
|
||||||
MicroPython remote control: mpremote
|
MicroPython remote control: mpremote
|
||||||
====================================
|
====================================
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# TODO: Split these into separate directories with their own manifests.
|
# TODO: Split these into separate directories with their own manifests.
|
||||||
options.defaults(lcd160cr=False, ssd1306=False, test=True)
|
options.defaults(lcd160cr=False, ssd1306=False, test=False)
|
||||||
|
|
||||||
if options.lcd160cr:
|
if options.lcd160cr:
|
||||||
module("lcd160cr.py", opt=3)
|
module("lcd160cr.py", opt=3)
|
||||||
|
|
Ładowanie…
Reference in New Issue