Public Attributes | |
t1 | |
t2 | |
t3 | |
p1 | |
p2 | |
p3 | |
p4 | |
p5 | |
p6 | |
p7 | |
p8 | |
p9 | |
h1 | |
h2 | |
h3 | |
h4 | |
h5 | |
h6 | |
![]() | |
channel | |
slave | |
![]() | |
busName | |
device | |
flag | |
fd | |
![]() | |
altitude | |
external | |
def webiopi.devices.sensor.bme280.BME280.__init__ | ( | self, | |
altitude = 0 , |
|||
external = None , |
|||
oversampling = 0 , |
|||
filter = 0 , |
|||
standby = 0.5 , |
|||
slave = 0x76 |
|||
) |
Definition at line 8 of file bme280.py.
References webiopi.utils.types.toint().
def webiopi.devices.sensor.bme280.BME280.__family__ | ( | self | ) |
def webiopi.devices.sensor.bme280.BME280.__getAll__ | ( | self | ) |
Definition at line 117 of file bme280.py.
References webiopi.devices.sensor.bme280.BME280.compensateH(), webiopi.devices.sensor.bme280.BME280.compensateP(), webiopi.devices.sensor.bme280.BME280.compensateT(), webiopi.devices.sensor.bme280.BME280.compensateTfine(), and webiopi.devices.sensor.bme280.BME280.readUnsigned().
def webiopi.devices.sensor.bme280.BME280.__getCelsius__ | ( | self | ) |
Definition at line 128 of file bme280.py.
References webiopi.devices.sensor.bme280.BME280.compensateT(), webiopi.devices.sensor.bme280.BME280.compensateTfine(), and webiopi.devices.sensor.bme280.BME280.readAdc().
def webiopi.devices.sensor.bme280.BME280.__getFahrenheit__ | ( | self | ) |
Definition at line 137 of file bme280.py.
References webiopi.devices.sensor.Temperature.Celsius2Fahrenheit().
def webiopi.devices.sensor.bme280.BME280.__getHumidity__ | ( | self | ) |
Definition at line 147 of file bme280.py.
References webiopi.devices.sensor.bme280.BME280.compensateH(), webiopi.devices.sensor.bme280.BME280.compensateTfine(), and webiopi.devices.sensor.bme280.BME280.readAdc().
def webiopi.devices.sensor.bme280.BME280.__getKelvin__ | ( | self | ) |
Definition at line 134 of file bme280.py.
References webiopi.devices.sensor.Temperature.Celsius2Kelvin().
def webiopi.devices.sensor.bme280.BME280.__getPascal__ | ( | self | ) |
Definition at line 140 of file bme280.py.
References webiopi.devices.sensor.bme280.BME280.compensateP(), webiopi.devices.sensor.bme280.BME280.compensateTfine(), and webiopi.devices.sensor.bme280.BME280.readAdc().
def webiopi.devices.sensor.bme280.BME280.compensateH | ( | self, | |
t_fine, | |||
adc_H | |||
) |
Definition at line 107 of file bme280.py.
References webiopi.devices.sensor.bme280.BME280.h1, webiopi.devices.sensor.bme280.BME280.h2, webiopi.devices.sensor.bme280.BME280.h3, webiopi.devices.sensor.bme280.BME280.h4, webiopi.devices.sensor.bme280.BME280.h5, and webiopi.devices.sensor.bme280.BME280.h6.
Referenced by webiopi.devices.sensor.bme280.BME280.__getAll__(), and webiopi.devices.sensor.bme280.BME280.__getHumidity__().
def webiopi.devices.sensor.bme280.BME280.compensateP | ( | self, | |
t_fine, | |||
adc_P | |||
) |
Definition at line 87 of file bme280.py.
References webiopi.devices.sensor.bme280.BME280.p1, webiopi.devices.sensor.bme280.BME280.p2, webiopi.devices.sensor.bme280.BME280.p3, webiopi.devices.sensor.bme280.BME280.p4, webiopi.devices.sensor.bme280.BME280.p5, webiopi.devices.sensor.bme280.BME280.p6, webiopi.devices.sensor.bme280.BME280.p7, webiopi.devices.sensor.bme280.BME280.p8, and webiopi.devices.sensor.bme280.BME280.p9.
Referenced by webiopi.devices.sensor.bme280.BME280.__getAll__(), and webiopi.devices.sensor.bme280.BME280.__getPascal__().
def webiopi.devices.sensor.bme280.BME280.compensateT | ( | self, | |
t_fine | |||
) |
Definition at line 83 of file bme280.py.
Referenced by webiopi.devices.sensor.bme280.BME280.__getAll__(), and webiopi.devices.sensor.bme280.BME280.__getCelsius__().
def webiopi.devices.sensor.bme280.BME280.compensateTfine | ( | self, | |
adc_T | |||
) |
Definition at line 76 of file bme280.py.
References webiopi.devices.sensor.bme280.BME280.t1, webiopi.devices.sensor.bme280.BME280.t2, and webiopi.devices.sensor.bme280.BME280.t3.
Referenced by webiopi.devices.sensor.bme280.BME280.__getAll__(), webiopi.devices.sensor.bme280.BME280.__getCelsius__(), webiopi.devices.sensor.bme280.BME280.__getHumidity__(), and webiopi.devices.sensor.bme280.BME280.__getPascal__().
def webiopi.devices.sensor.bme280.BME280.readAdc | ( | self | ) |
Definition at line 69 of file bme280.py.
References webiopi.devices.sensor.bme280.BME280.readUnsigned().
Referenced by webiopi.devices.sensor.bme280.BME280.__getCelsius__(), webiopi.devices.sensor.bme280.BME280.__getHumidity__(), and webiopi.devices.sensor.bme280.BME280.__getPascal__().
def webiopi.devices.sensor.bme280.BME280.readSigned | ( | self, | |
address, | |||
numBytes, | |||
byteOrder = 'little' |
|||
) |
Definition at line 64 of file bme280.py.
References webiopi.devices.sensor.bme280.BME280.readUnsigned(), and webiopi.utils.types.signInteger().
def webiopi.devices.sensor.bme280.BME280.readUnsigned | ( | self, | |
address, | |||
numBytes, | |||
byteOrder = 'little' |
|||
) |
Definition at line 53 of file bme280.py.
References webiopi.devices.i2c.I2C.readRegisters().
Referenced by webiopi.devices.sensor.bme280.BME280.__getAll__(), webiopi.devices.sensor.bme280.BME280.readAdc(), and webiopi.devices.sensor.bme280.BME280.readSigned().
webiopi.devices.sensor.bme280.BME280.h1 |
Definition at line 26 of file bme280.py.
Referenced by webiopi.devices.sensor.bme280.BME280.compensateH().
webiopi.devices.sensor.bme280.BME280.h2 |
Definition at line 27 of file bme280.py.
Referenced by webiopi.devices.sensor.bme280.BME280.compensateH().
webiopi.devices.sensor.bme280.BME280.h3 |
Definition at line 28 of file bme280.py.
Referenced by webiopi.devices.sensor.bme280.BME280.compensateH().
webiopi.devices.sensor.bme280.BME280.h4 |
Definition at line 29 of file bme280.py.
Referenced by webiopi.devices.sensor.bme280.BME280.compensateH().
webiopi.devices.sensor.bme280.BME280.h5 |
Definition at line 30 of file bme280.py.
Referenced by webiopi.devices.sensor.bme280.BME280.compensateH().
webiopi.devices.sensor.bme280.BME280.h6 |
Definition at line 31 of file bme280.py.
Referenced by webiopi.devices.sensor.bme280.BME280.compensateH().
webiopi.devices.sensor.bme280.BME280.p1 |
Definition at line 16 of file bme280.py.
Referenced by webiopi.devices.sensor.bme280.BME280.compensateP().
webiopi.devices.sensor.bme280.BME280.p2 |
Definition at line 17 of file bme280.py.
Referenced by webiopi.devices.sensor.bme280.BME280.compensateP().
webiopi.devices.sensor.bme280.BME280.p3 |
Definition at line 18 of file bme280.py.
Referenced by webiopi.devices.sensor.bme280.BME280.compensateP().
webiopi.devices.sensor.bme280.BME280.p4 |
Definition at line 19 of file bme280.py.
Referenced by webiopi.devices.sensor.bme280.BME280.compensateP().
webiopi.devices.sensor.bme280.BME280.p5 |
Definition at line 20 of file bme280.py.
Referenced by webiopi.devices.sensor.bme280.BME280.compensateP().
webiopi.devices.sensor.bme280.BME280.p6 |
Definition at line 21 of file bme280.py.
Referenced by webiopi.devices.sensor.bme280.BME280.compensateP().
webiopi.devices.sensor.bme280.BME280.p7 |
Definition at line 22 of file bme280.py.
Referenced by webiopi.devices.sensor.bme280.BME280.compensateP().
webiopi.devices.sensor.bme280.BME280.p8 |
Definition at line 23 of file bme280.py.
Referenced by webiopi.devices.sensor.bme280.BME280.compensateP().
webiopi.devices.sensor.bme280.BME280.p9 |
Definition at line 24 of file bme280.py.
Referenced by webiopi.devices.sensor.bme280.BME280.compensateP().
webiopi.devices.sensor.bme280.BME280.t1 |
Definition at line 12 of file bme280.py.
Referenced by webiopi.devices.sensor.bme280.BME280.compensateTfine().
webiopi.devices.sensor.bme280.BME280.t2 |
Definition at line 13 of file bme280.py.
Referenced by webiopi.devices.sensor.bme280.BME280.compensateTfine().
webiopi.devices.sensor.bme280.BME280.t3 |
Definition at line 14 of file bme280.py.
Referenced by webiopi.devices.sensor.bme280.BME280.compensateTfine().