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 5be2db0 commit 8fa98d1Copy full SHA for 8fa98d1
feather_m4_minitft_featherwing/ugame.py
@@ -52,7 +52,7 @@
52
spi = board.SPI()
53
ss = Seesaw(i2c, 0x5E)
54
backlight = PWMOut(ss, 5)
55
-brightness = 1 # 0 full on, 1 full off, 0.5 half
+brightness = 1 # 0 full off, 1 full on, 0.5 half
56
backlight.duty_cycle = int(255 * min(max(1 - brightness, 0.0), 1.0))
57
ss.pin_mode_bulk(button_mask, ss.INPUT_PULLUP)
58
displayio.release_displays()
0 commit comments