SPS30 readout

This commit is contained in:
mj
2022-01-09 17:47:01 +01:00
parent e10e7f5c31
commit 29f702add2
4 changed files with 86 additions and 49 deletions

View File

@@ -17,7 +17,17 @@ class Sensor():
'T_SCD4x': 30013, \
'RH_SCD4x': 30014, \
'T_SHT4x_signed': 30015, \
'T_SCD4x_signed': 30016 }
'T_SCD4x_signed': 30016, \
'PM_mass_concentration_1.0': 30017, \
'PM_mass_concentration_2.5': 30018, \
'PM_mass_concentration_4.0': 30019, \
'PM_mass_concentration_10.0': 30020, \
'PM_number_concentration_0.5': 30021, \
'PM_number_concentration_1.0': 30022, \
'PM_number_concentration_2.5': 30023, \
'PM_number_concentration_4.0': 30024, \
'PM_number_concentration_10.0': 30025, \
'PM_typical_particle_size': 30026 }
holding_registers = { \
'LED_on': 40001, \
'LED_brightness': 40002, \