Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make right backlight use pwmio instead of pulseio #10

Merged
merged 1 commit into from
Aug 11, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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