diff --git a/adafruit_magtag/magtag.py b/adafruit_magtag/magtag.py index 02d2722..ac681ec 100755 --- a/adafruit_magtag/magtag.py +++ b/adafruit_magtag/magtag.py @@ -82,7 +82,6 @@ def __init__( rotation: int = 270, debug: bool = False, ) -> None: - self.peripherals = Peripherals() if status_neopixel == board.NEOPIXEL: diff --git a/examples/magtag_btn_sleep_demo.py b/examples/magtag_btn_sleep_demo.py index 3b64cf1..c6f5a78 100644 --- a/examples/magtag_btn_sleep_demo.py +++ b/examples/magtag_btn_sleep_demo.py @@ -29,7 +29,6 @@ while True: now = time.monotonic() if now - last_action_time >= 10.0: - magtag.set_text("Sleeping") magtag.peripherals.deinit() time.sleep(2)