Skip to content

Commit bdb5e9e

Browse files
committed
change screen brightness
1 parent 2a7d320 commit bdb5e9e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

PyPortal_Wakeup_Light/wake_up_light.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
# Type in time to get up
1515
input_wake_up_time = "8:00A"
1616

17+
board.DISPLAY.brightness = 0.1
18+
1719
BRIGHTNESS = 0
1820
MIN_BRIGHTNESS = 0
1921
MAX_BRIGHTNESS = 0.2 # brightness above 0.2 crashes pyportal

0 commit comments

Comments
 (0)