Skip to content
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
align rgb simpletest pins with learn guide fritzing
Also adds a .clear() to the test loop.
  • Loading branch information
brennen committed Oct 29, 2018
commit d766bb95d4725f44457e2e7c9cd201502ed14459
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