Skip to content

align rgb simpletest pins with learn guide fritzing #17

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

Merged
merged 1 commit into from
Oct 29, 2018
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
5 changes: 3 additions & 2 deletions examples/charlcd_rgb_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
lcd_d4 = digitalio.DigitalInOut(board.D9)
lcd_backlight = digitalio.DigitalInOut(board.D13)
red = pulseio.PWMOut(board.D3)
green = pulseio.PWMOut(board.D4)
blue = pulseio.PWMOut(board.D5)
green = pulseio.PWMOut(board.D5)
blue = pulseio.PWMOut(board.D6)

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


while True:
lcd.clear()
lcd.message('CircuitPython\nRGB Test')
lcd.set_color(RED)
time.sleep(1)
Expand Down