kopia lustrzana https://github.com/pimoroni/pimoroni-pico
Update buttons.py
rodzic
5118339781
commit
5a6a5b42c1
|
@ -6,7 +6,6 @@ import utime
|
||||||
# Initialise display with a bytearray display buffer
|
# Initialise display with a bytearray display buffer
|
||||||
buf = bytearray(display.get_width() * display.get_height() * 2)
|
buf = bytearray(display.get_width() * display.get_height() * 2)
|
||||||
display.init(buf)
|
display.init(buf)
|
||||||
display.set_backlight(0.5)
|
|
||||||
|
|
||||||
# sets up a handy function we can call to clear the screen
|
# sets up a handy function we can call to clear the screen
|
||||||
def clear():
|
def clear():
|
||||||
|
|
Ładowanie…
Reference in New Issue