Skip to content

Commit d62f568

Browse files
author
jposada202020
committed
Adding displayio example
1 parent 7a0cebe commit d62f568

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/ccs811_displayio_example.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@
4141
# begin main loop
4242
while True:
4343
# update the text of the label(s) to show the sensor readings
44-
display_output_label.text = (
45-
f"CO2: {ccs811.eco2} PPM\nTVOC: {ccs811.tvoc} PPB"
46-
)
44+
display_output_label.text = f"CO2: {ccs811.eco2} PPM\nTVOC: {ccs811.tvoc} PPB"
4745
# wait for a bit
4846
time.sleep(0.5)

0 commit comments

Comments
 (0)