Clean up display clear demo.

master
rdagger 2 years ago
parent 3690e7b093
commit 6a8795ad7d

@ -44,7 +44,7 @@ def test():
for hlines, (color, rgb) in zip(valid_hlines, colors.items()): for hlines, (color, rgb) in zip(valid_hlines, colors.items()):
gc.collect() gc.collect()
print(f'Clearing display to {color}, hlines={hlines}') print(f'Clearing display to {color}, hlines={hlines}...')
try: try:
start = ticks_ms() start = ticks_ms()
display.clear(hlines=hlines, color=color565(*rgb)) display.clear(hlines=hlines, color=color565(*rgb))

Loading…
Cancel
Save