Skip to content

Commit 7a0b303

Browse files
authored
Merge pull request #8 from ladyada/main
remove extraneous debuggin's
2 parents 181929e + 3eb2c53 commit 7a0b303

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

adafruit_magtag/graphics.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ def set_background(self, file_or_color, position=None):
101101
:param tuple position: Optional x and y coordinates to place the background at.
102102
103103
"""
104-
print("Set background to", file_or_color)
105104
while self._bg_group:
106105
self._bg_group.pop()
107106

@@ -114,7 +113,6 @@ def set_background(self, file_or_color, position=None):
114113
self._bg_file.close()
115114
if isinstance(file_or_color, str): # its a filenme:
116115
self._bg_file = open(file_or_color, "rb")
117-
print("Displaying image file")
118116
background = displayio.OnDiskBitmap(self._bg_file)
119117
self._bg_sprite = displayio.TileGrid(
120118
background,
@@ -124,7 +122,6 @@ def set_background(self, file_or_color, position=None):
124122
)
125123
elif isinstance(file_or_color, int):
126124
# Make a background color fill
127-
print("Displaying color")
128125
color_bitmap = displayio.Bitmap(self.display.width, self.display.height, 1)
129126
color_palette = displayio.Palette(1)
130127
color_palette[0] = file_or_color

adafruit_magtag/magtag.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,6 @@ def set_text(self, val, index=0, auto_refresh=True):
247247
# too long! shorten it
248248
string = string[: self._text_maxlen[index] - 3]
249249
string += "..."
250-
print("text index", self._text[index])
251250
index_in_splash = None
252251

253252
if self._text[index] is not None:

adafruit_magtag/wifi_module.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ def connect(self, ssid, password):
6464
:param password: The WiFi password
6565
6666
"""
67-
print(ssid, password)
6867
wifi.radio.connect(ssid, password)
6968
pool = socketpool.SocketPool(wifi.radio)
7069
self.requests = adafruit_requests.Session(pool, ssl.create_default_context())

0 commit comments

Comments
 (0)