mirror of
https://github.com/cmur2/python-bme680.git
synced 2026-04-05 14:18:43 +02:00
Minor linting fixes to examples
This commit is contained in:
@@ -22,6 +22,7 @@ sensor.set_pressure_oversample(bme680.OS_4X)
|
||||
sensor.set_temperature_oversample(bme680.OS_8X)
|
||||
sensor.set_filter(bme680.FILTER_SIZE_3)
|
||||
|
||||
|
||||
def display_data(offset=0):
|
||||
sensor.set_temp_offset(offset)
|
||||
sensor.get_sensor_data()
|
||||
@@ -32,6 +33,7 @@ def display_data(offset=0):
|
||||
print(output)
|
||||
print('')
|
||||
|
||||
|
||||
print('Initial readings')
|
||||
display_data()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user