1
0
mirror of https://github.com/cmur2/python-bme680.git synced 2024-12-22 22:54:29 +01:00
Commit Graph

32 Commits

Author SHA1 Message Date
Phil Howard
d9970151cd Fixes from upstream BME680_driver 3.5.3 2017-11-17 11:29:48 +00:00
Sandy Macdonald
fffb5205d1 Fixed another copy-paste error! 2017-10-19 12:31:19 +01:00
Sandy Macdonald
ae48c5aa7f Fixed copy-paste error! 2017-10-19 12:30:52 +01:00
Sandy Macdonald
09570742aa Added OLI install details. 2017-10-19 12:30:27 +01:00
sandyjmacdonald
25c941fedd Added terminal image. 2017-10-19 11:29:00 +00:00
Phil Howard
7bc7ef693b Prep for version 1.0.2 2017-10-19 12:21:16 +01:00
sandyjmacdonald
aa919425c2 Changed name of air quality example. 2017-10-18 12:56:21 +00:00
sandyjmacdonald
70467da468 Added example of how to calculate Indoor Air Quality (IAQ). 2017-10-18 12:45:53 +00:00
Philip Howard
88634926d7 Merge pull request #1 from davea/patch-1
Ensure set_gas_heater_temperature calls _set_regs with int
2017-10-18 13:38:12 +01:00
Dave Arter
35b26a1529 Ensure set_gas_heater_temperature calls _set_regs with int
When running the `examples/read-all.py` script I was seeing a crash because
the value passed to `write_i2c_block_data` wasn't being converted to an int:

```
  File "/home/pi/tmp/bme680/library/bme680/__init__.py", line 281, in _set_regs
    self._i2c.write_i2c_block_data(self.i2c_addr, register, value)
TypeError: Third argument must be a list of at least one, but not more than 32 integers
```

This commit ensures `set_gas_heater_temperature` converts the temperature to an int
before it's passed to `self._set_regs`.
2017-10-18 13:10:17 +01:00
Sandy Macdonald
44208f5dae Typos AHOY! 2017-10-18 10:55:25 +01:00
Sandy Macdonald
83717b5194 Updated README.md 2017-10-18 10:54:46 +01:00
sandyjmacdonald
bcf3704610 Tidied up examples a little. 2017-10-18 09:23:30 +00:00
Phil Howard
99222746a6 Tweaked examples 2017-10-17 16:45:50 +01:00
Phil Howard
9b18ecf446 Fixed Manifest 2017-10-17 16:02:29 +01:00
Phil Howard
7f2dbdf48e Tweaked 2017-10-17 15:27:30 +01:00
Phil Howard
16853dc4f2 Added packaging, dropped copy of C code 2017-10-17 15:09:19 +01:00
Phil Howard
3751865cb6 No need to set power mode 2017-10-17 14:37:32 +01:00
Phil Howard
e930b211c9 Refactor for shipping as library 2017-10-17 12:50:26 +01:00
Phil Howard
6ed4ade9d7 Tweaked polling, tweaked pressure scale 2017-10-17 12:45:28 +01:00
Phil Howard
73e93bc6d7 Refactored get_sensor_data 2017-10-17 12:32:55 +01:00
Phil Howard
b2f388a335 Non ASCII intruder 2017-10-17 12:29:06 +01:00
Phil Howard
f6bc4907c4 DocStrings 2017-10-17 12:28:06 +01:00
Phil Howard
2e7d805e62 Corrected MODE_POS 2017-10-17 11:24:21 +01:00
Phil Howard
b4013106dc Added bit setting, docstrings 2017-10-17 11:23:41 +01:00
Phil Howard
9619dfce3e Actually write rungas register 2017-10-17 10:55:05 +01:00
Phil Howard
306fc84cb5 Added heat_stable flag 2017-10-17 10:47:31 +01:00
Phil Howard
cd3649a74f Fixed types of calibration data 2017-10-16 15:06:45 +01:00
Phil Howard
9012109c30 Actual sensor data readings 2017-10-16 14:47:44 +01:00
Phil Howard
13dde24252 Added BME680_driver test shim 2017-10-15 11:36:20 +01:00
Phil Howard
d30ee2791c Removed junk 2017-10-15 11:30:41 +01:00
Phil Howard
c84cabe700 Initial Commit 2017-10-15 11:29:51 +01:00