kopia lustrzana https://github.com/peterhinch/micropython-micro-gui
ssd1351 drivers: remove unused import statement.
rodzic
834ec5503c
commit
daab0fa859
|
@ -14,7 +14,6 @@ import framebuf
|
||||||
import utime
|
import utime
|
||||||
import gc
|
import gc
|
||||||
import micropython
|
import micropython
|
||||||
from uctypes import addressof
|
|
||||||
from drivers.boolpalette import BoolPalette
|
from drivers.boolpalette import BoolPalette
|
||||||
|
|
||||||
# https://github.com/peterhinch/micropython-nano-gui/issues/2
|
# https://github.com/peterhinch/micropython-nano-gui/issues/2
|
||||||
|
|
|
@ -15,7 +15,6 @@ import framebuf
|
||||||
import utime
|
import utime
|
||||||
import gc
|
import gc
|
||||||
import micropython
|
import micropython
|
||||||
from uctypes import addressof
|
|
||||||
from drivers.boolpalette import BoolPalette
|
from drivers.boolpalette import BoolPalette
|
||||||
|
|
||||||
# https://github.com/peterhinch/micropython-nano-gui/issues/2
|
# https://github.com/peterhinch/micropython-nano-gui/issues/2
|
||||||
|
|
|
@ -9,17 +9,16 @@
|
||||||
# This driver is based on the Adafruit C++ library for Arduino
|
# This driver is based on the Adafruit C++ library for Arduino
|
||||||
# https://github.com/adafruit/Adafruit-SSD1351-library.git
|
# https://github.com/adafruit/Adafruit-SSD1351-library.git
|
||||||
|
|
||||||
# Copyright (c) Peter Hinch 2018-2020
|
# Copyright (c) Peter Hinch 2018-2022
|
||||||
# Released under the MIT license see LICENSE
|
# Released under the MIT license see LICENSE
|
||||||
|
|
||||||
import framebuf
|
import framebuf
|
||||||
import utime
|
import utime
|
||||||
import gc
|
import gc
|
||||||
import micropython
|
import micropython
|
||||||
from uctypes import addressof
|
|
||||||
from drivers.boolpalette import BoolPalette
|
from drivers.boolpalette import BoolPalette
|
||||||
|
|
||||||
import sys
|
#import sys
|
||||||
# https://github.com/peterhinch/micropython-nano-gui/issues/2
|
# https://github.com/peterhinch/micropython-nano-gui/issues/2
|
||||||
# The ESP32 does not work reliably in SPI mode 1,1. Waveforms look correct.
|
# The ESP32 does not work reliably in SPI mode 1,1. Waveforms look correct.
|
||||||
# Now using 0,0 on STM and ESP32
|
# Now using 0,0 on STM and ESP32
|
||||||
|
|
Ładowanie…
Reference in New Issue