Skip to content

Commit 3775cd7

Browse files
authored
Merge pull request #17 from adafruit/rgb_simpletest_pins
align rgb simpletest pins with learn guide fritzing
2 parents 375ce69 + d766bb9 commit 3775cd7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

examples/charlcd_rgb_simpletest.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
lcd_d4 = digitalio.DigitalInOut(board.D9)
1919
lcd_backlight = digitalio.DigitalInOut(board.D13)
2020
red = pulseio.PWMOut(board.D3)
21-
green = pulseio.PWMOut(board.D4)
22-
blue = pulseio.PWMOut(board.D5)
21+
green = pulseio.PWMOut(board.D5)
22+
blue = pulseio.PWMOut(board.D6)
2323

2424
# Init the LCD class
2525
lcd = adafruit_character_lcd.Character_LCD_RGB(lcd_rs, lcd_en, lcd_d4, lcd_d5,
@@ -33,6 +33,7 @@
3333

3434

3535
while True:
36+
lcd.clear()
3637
lcd.message('CircuitPython\nRGB Test')
3738
lcd.set_color(RED)
3839
time.sleep(1)

0 commit comments

Comments
 (0)