We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a87186 commit f21f415Copy full SHA for f21f415
examples/charlcd_rpi_rgb_simpletest.py
@@ -5,7 +5,7 @@
5
import time
6
import board
7
import digitalio
8
-import pulseio
+import pwmio
9
import adafruit_character_lcd.character_lcd as characterlcd
10
11
# Modify this if you have a different sized character LCD
@@ -24,9 +24,9 @@
24
) # LCD pin 5. Determines whether to read to or write from the display.
25
# Not necessary if only writing to the display. Used on shield.
26
27
-red = pulseio.PWMOut(board.D21)
28
-green = pulseio.PWMOut(board.D12)
29
-blue = pulseio.PWMOut(board.D18)
+red = pwmio.PWMOut(board.D21)
+green = pwmio.PWMOut(board.D12)
+blue = pwmio.PWMOut(board.D18)
30
31
# Initialize the LCD class
32
# The lcd_rw parameter is optional. You can omit the line below if you're only
0 commit comments