Skip to content

Commit a58057b

Browse files
committed
Fix lint error
1 parent 8fcde43 commit a58057b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

examples/pm25_displayio_simpletest.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
i2c = board.I2C() # uses board.SCL and board.SDA
1414
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector
1515
pm25 = PM25_I2C(i2c, reset_pin=None)
16-
17-
16+
17+
1818
# Example written for boards with built-in displays
1919
display = board.DISPLAY
2020

@@ -43,9 +43,9 @@
4343
continue
4444
# Update the label.text property to change the text on the display
4545
# show some of the values returned by the sensor read, one per line
46-
display_output_label.text = f"PM 1.0: {aqdata["pm10 standard"]} \
47-
\nPM 2.5: {aqdata["pm25 standard"]} \
48-
\n1.0um / 0.1L: {aqdata["particles 10um"]} \
49-
\n2.5um / 0.1L: {aqdata["particles 25um"]} "
46+
display_output_label.text = f"PM 1.0: { aqdata['pm10 standard'] } \
47+
\nPM 2.5: { aqdata['pm25 standard']} \
48+
\n1.0um / 0.1L: { aqdata['particles 10um'] } \
49+
\n2.5um / 0.1L: { aqdata['particles 25um'] }"
5050
# Wait a bit between reads
51-
time.sleep(1)
51+
time.sleep(1)

0 commit comments

Comments
 (0)