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 f7105c3 commit d566d30Copy full SHA for d566d30
examples/stm32l4_pandora/lcd.py
@@ -13,7 +13,7 @@
13
lcd = LCD() # Create a LCD object
14
lcd.light(False) # Close the backlight
15
lcd.light(True) # Open the backlight
16
-lcd.set_color(WHITE, BLACK) # Set background color and foreground color
+lcd.set_color(lcd.WHITE, lcd.BLACK) # Set background color and foreground color
17
lcd.fill(lcd.BLACK) # Fill the entire LCD with black
18
lcd.fill(lcd.RED) # Fill the entire LCD with red
19
lcd.fill(lcd.GRAY) # Fill the entire LCD with gray
0 commit comments