From ba9d16e432d132df6e0163f1ad219a7624226ca6 Mon Sep 17 00:00:00 2001 From: foamyguy Date: Wed, 11 Aug 2021 13:20:22 -0500 Subject: [PATCH] make right backlight use pwmio instead of pulseio --- adafruit_monsterm4sk.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/adafruit_monsterm4sk.py b/adafruit_monsterm4sk.py index b83daae..9264f62 100644 --- a/adafruit_monsterm4sk.py +++ b/adafruit_monsterm4sk.py @@ -30,7 +30,7 @@ # imports import time import board -import pulseio +import pwmio import busio import digitalio from adafruit_seesaw.seesaw import Seesaw @@ -110,7 +110,7 @@ def __init__(self, i2c=None): self.left_display = ST7789(left_display_bus, width=240, height=240, rowstart=80) # right backlight on board - self.right_backlight = pulseio.PWMOut( + self.right_backlight = pwmio.PWMOut( board.RIGHT_TFT_LITE, frequency=5000, duty_cycle=0 ) # full brightness