Skip to content

Commit e1cf92a

Browse files
authored
Merge pull request #10 from FoamyGuy/pwmio_cp7_update
make right backlight use pwmio instead of pulseio
2 parents 7512d6c + ba9d16e commit e1cf92a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_monsterm4sk.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
# imports
3131
import time
3232
import board
33-
import pulseio
33+
import pwmio
3434
import busio
3535
import digitalio
3636
from adafruit_seesaw.seesaw import Seesaw
@@ -110,7 +110,7 @@ def __init__(self, i2c=None):
110110
self.left_display = ST7789(left_display_bus, width=240, height=240, rowstart=80)
111111

112112
# right backlight on board
113-
self.right_backlight = pulseio.PWMOut(
113+
self.right_backlight = pwmio.PWMOut(
114114
board.RIGHT_TFT_LITE, frequency=5000, duty_cycle=0
115115
)
116116
# full brightness

0 commit comments

Comments
 (0)