kopia lustrzana https://github.com/peterhinch/micropython-micro-gui
README.md: Add comment re import order in hardware_setup.py.
rodzic
20da9750f4
commit
742511c7e3
|
@ -336,7 +336,7 @@ spi = SPI(0, baudrate=30_000_000)
|
||||||
gc.collect() # Precaution before instantiating framebuf
|
gc.collect() # Precaution before instantiating framebuf
|
||||||
# Instantiate display and assign to ssd. For args see display drivers doc.
|
# Instantiate display and assign to ssd. For args see display drivers doc.
|
||||||
ssd = SSD(spi, pcs, pdc, prst, usd=True)
|
ssd = SSD(spi, pcs, pdc, prst, usd=True)
|
||||||
|
# The following import must occur after ssd is instantiated.
|
||||||
from gui.core.ugui import Display, quiet
|
from gui.core.ugui import Display, quiet
|
||||||
# quiet()
|
# quiet()
|
||||||
# Define control buttons
|
# Define control buttons
|
||||||
|
|
Ładowanie…
Reference in New Issue