diff --git a/adafruit_magtag/graphics.py b/adafruit_magtag/graphics.py index 02a6ba5..3c07188 100755 --- a/adafruit_magtag/graphics.py +++ b/adafruit_magtag/graphics.py @@ -101,7 +101,6 @@ def set_background(self, file_or_color, position=None): :param tuple position: Optional x and y coordinates to place the background at. """ - print("Set background to", file_or_color) while self._bg_group: self._bg_group.pop() @@ -114,7 +113,6 @@ def set_background(self, file_or_color, position=None): self._bg_file.close() if isinstance(file_or_color, str): # its a filenme: self._bg_file = open(file_or_color, "rb") - print("Displaying image file") background = displayio.OnDiskBitmap(self._bg_file) self._bg_sprite = displayio.TileGrid( background, @@ -124,7 +122,6 @@ def set_background(self, file_or_color, position=None): ) elif isinstance(file_or_color, int): # Make a background color fill - print("Displaying color") color_bitmap = displayio.Bitmap(self.display.width, self.display.height, 1) color_palette = displayio.Palette(1) color_palette[0] = file_or_color diff --git a/adafruit_magtag/magtag.py b/adafruit_magtag/magtag.py index aecf5b4..dd1b6e0 100755 --- a/adafruit_magtag/magtag.py +++ b/adafruit_magtag/magtag.py @@ -247,7 +247,6 @@ def set_text(self, val, index=0, auto_refresh=True): # too long! shorten it string = string[: self._text_maxlen[index] - 3] string += "..." - print("text index", self._text[index]) index_in_splash = None if self._text[index] is not None: diff --git a/adafruit_magtag/wifi_module.py b/adafruit_magtag/wifi_module.py index 32259fc..96281a7 100755 --- a/adafruit_magtag/wifi_module.py +++ b/adafruit_magtag/wifi_module.py @@ -64,7 +64,6 @@ def connect(self, ssid, password): :param password: The WiFi password """ - print(ssid, password) wifi.radio.connect(ssid, password) pool = socketpool.SocketPool(wifi.radio) self.requests = adafruit_requests.Session(pool, ssl.create_default_context())