Phil Howard
c97791d720
Updated ignored QA warnings
2018-08-28 21:09:53 +01:00
Phil Howard
4b61558566
Added Build Status
2018-08-28 20:41:16 +01:00
Phil Howard
a4a0cfcd2a
Added flake8 install for travis
2018-08-28 20:33:03 +01:00
Phil Howard
b2641c48df
Travis flake8 checks
2018-08-28 20:30:59 +01:00
Phil Howard
2dc799a7a4
Added BG tooling
2018-08-14 09:30:42 +00:00
Phil Howard
50902ac08e
Prep for v1.0.5
2018-06-01 17:15:10 +01:00
Phil Howard
05f80690e0
Merge branch 'ayeks-offset'
2018-06-01 16:10:47 +01:00
Phil Howard
0f0be7f2c2
Tidied up temp-offset.py example
2018-06-01 16:10:34 +01:00
Phil Howard
4ae50e2f2c
Fixed bug in set_temp_offset
2018-06-01 16:10:08 +01:00
Phil Howard
7e08c2d749
Fixed packaging errors
2018-06-01 16:04:37 +01:00
Phil Howard
bc2f729013
Made temp-offset.py executable
2018-06-01 16:04:27 +01:00
Lars Lühr
fed191e40e
use math.copysign for temp offset calculation
2018-05-31 08:21:14 +00:00
Lars Lühr
8cb0dead6b
added temp offset float example
2018-05-28 21:41:16 +00:00
Lars Lühr
ae004aa62b
accept float values in set_temp_offset
2018-05-28 21:38:19 +00:00
Lars Lühr
1c9ba41306
added set_temp_offset function and example
2018-05-28 21:18:20 +00:00
Philip Howard
40b4b63b93
Create LICENSE
2018-02-20 15:21:25 +00:00
Phil Howard
da6ae97f1f
Prep for v1.0.4
2017-12-04 10:37:52 +00:00
Philip Howard
097287e842
Merge pull request #8 from lowflyerUK/master
...
Updated mask operation in constants.py to correct gas resistance
2017-12-04 10:28:14 +00:00
lowflyerUK
02407e1d01
Updated mask operation in constants.py to correct gas resistance
2017-12-03 21:49:32 +00:00
Phil Howard
888d8b312a
Convert negative gas resistance readings to unsigned int32
2017-12-01 14:08:40 +00:00
Phil Howard
288daed781
Version 1.0.3 prep
2017-11-23 11:25:34 +00:00
Philip Howard
c9d4cef987
Merge pull request #5 from gkluoe/master
...
Fix reassignment of variable in pressure calculation algo
2017-11-22 16:19:43 +00:00
Geoff Lee
26a28bfde7
Fix reassignment of variable in pressure calculation algo
2017-11-21 21:16:27 +00:00
Philip Howard
1baa47fb56
Merge pull request #4 from davea/typeerror_fixes
...
Fix Python 3 TypeError crashes by using floor division explicitly
2017-11-20 12:09:09 +00:00
Dave Arter
3e4bf56802
Fix Python 3 TypeError crashes by using floor division explicitly
...
The / operator in Python 3 returns a float, which was causing TypeErrors
when being passed to the << or >> operators.
2017-11-19 17:10:27 +00:00
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