spelling: display

This commit is contained in:
Josh Soref 2019-10-26 22:05:29 -04:00
parent 8a87bbeb90
commit 479f9cf79d
3 changed files with 3 additions and 3 deletions

View File

@ -173,7 +173,7 @@ to use:
# attempt grayscale conversion, and then to single bit
# better to do this before calling this if the image is to
# be dispayed several times
# be displayed several times
if image.mode != "1":
image = ImageOps.grayscale(image).convert("1", dither=Image.FLOYDSTEINBERG)

View File

@ -35,7 +35,7 @@ class ST7789(object):
self._spi.writebytes([val])
def Init(self):
"""Initialize dispaly"""
"""Initialize display"""
self.reset()
self.command(0x36)

View File

@ -34,7 +34,7 @@ class SH1106(object):
def Init(self):
if (config.module_init() != 0):
return -1
"""Initialize dispaly"""
"""Initialize display"""
self.reset()
self.command(0xAE);#--turn off oled panel
self.command(0x02);#---set low column address