kopia lustrzana https://github.com/pimoroni/pimoroni-pico
Correct comment for backlight button functionality
rodzic
0a0b72701e
commit
d25c6953d0
|
@ -189,7 +189,7 @@ temperature, pressure, humidity, gas, status, _, _ = bme.read()
|
||||||
time.sleep(0.5)
|
time.sleep(0.5)
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
# turn off the backlight with A and turn it back on with B
|
# turn on the backlight with A and turn it back off with B
|
||||||
# switch between sensor and equaliser mode with X and Y
|
# switch between sensor and equaliser mode with X and Y
|
||||||
if button_a.is_pressed:
|
if button_a.is_pressed:
|
||||||
display.set_backlight(BRIGHTNESS)
|
display.set_backlight(BRIGHTNESS)
|
||||||
|
|
Ładowanie…
Reference in New Issue