Skip to content

Commit f21f415

Browse files
authored
Moved second file from pulseio.PWMOut to pwmio.PWMOut
1 parent 6a87186 commit f21f415

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/charlcd_rpi_rgb_simpletest.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import time
66
import board
77
import digitalio
8-
import pulseio
8+
import pwmio
99
import adafruit_character_lcd.character_lcd as characterlcd
1010

1111
# Modify this if you have a different sized character LCD
@@ -24,9 +24,9 @@
2424
) # LCD pin 5. Determines whether to read to or write from the display.
2525
# Not necessary if only writing to the display. Used on shield.
2626

27-
red = pulseio.PWMOut(board.D21)
28-
green = pulseio.PWMOut(board.D12)
29-
blue = pulseio.PWMOut(board.D18)
27+
red = pwmio.PWMOut(board.D21)
28+
green = pwmio.PWMOut(board.D12)
29+
blue = pwmio.PWMOut(board.D18)
3030

3131
# Initialize the LCD class
3232
# The lcd_rw parameter is optional. You can omit the line below if you're only

0 commit comments

Comments
 (0)