Issue #22 - Remove debug print statements.

This commit is contained in:
lynniemagoo
2022-03-17 18:22:50 -05:00
parent 99e44092de
commit 3b68b77b29

View File

@@ -281,18 +281,14 @@ class ST7735(object):
self.data(0x0E)
if self._invert:
print("ST7735_INVON")
self.command(ST7735_INVON) # Invert display
else:
print("ST7735_INVOFF")
self.command(ST7735_INVOFF) # Don't invert display
self.command(ST7735_MADCTL) # Memory access control (directions)
if self._bgr:
print("MADCTL 0xC8")
self.data(0xC8) # row addr/col addr, bottom to top refresh; Set D3 RGB Bit to 1 for format BGR
else:
print("MADCTL 0xC0")
self.data(0xC0) # row addr/col addr, bottom to top refresh; Set D3 RGB Bit to 0 for format RGB
self.command(ST7735_COLMOD) # set color mode