Skip to content

Commit

Permalink
Merge pull request #10 from FoamyGuy/pwmio_cp7_update
Browse files Browse the repository at this point in the history
make right backlight use pwmio instead of pulseio
  • Loading branch information
TheKitty authored Aug 11, 2021
2 parents 7512d6c + ba9d16e commit e1cf92a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adafruit_monsterm4sk.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
# imports
import time
import board
import pulseio
import pwmio
import busio
import digitalio
from adafruit_seesaw.seesaw import Seesaw
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e1cf92a

Please sign in to comment.