Skip to content

Commit 8fa98d1

Browse files
authored
Update ugame.py
1 parent 5be2db0 commit 8fa98d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

feather_m4_minitft_featherwing/ugame.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
spi = board.SPI()
5353
ss = Seesaw(i2c, 0x5E)
5454
backlight = PWMOut(ss, 5)
55-
brightness = 1 # 0 full on, 1 full off, 0.5 half
55+
brightness = 1 # 0 full off, 1 full on, 0.5 half
5656
backlight.duty_cycle = int(255 * min(max(1 - brightness, 0.0), 1.0))
5757
ss.pin_mode_bulk(button_mask, ss.INPUT_PULLUP)
5858
displayio.release_displays()

0 commit comments

Comments
 (0)