Commit graph

71 commits

Author SHA1 Message Date
Scott Shawcroft
570da14943
Merge pull request #32 from adafruit/temp-offset
Added temperature offset
2020-07-28 11:46:02 -07:00
dherrada
64d2709a31 Made requested changes to clarify temperature offset 2020-07-28 11:13:46 -04:00
dherrada
3adfd8a151 Moved offset to simpletest 2020-07-27 09:37:30 -04:00
dherrada
c5c1edaca9 Formatting 2020-07-16 13:39:25 -04:00
dherrada
ded08dd81f Added temperature offset 2020-07-16 13:36:30 -04:00
dherrada
f709a6ffae Fixed discord invite link 2020-07-08 16:49:04 -04:00
Scott Shawcroft
74db72c78c
Merge pull request #30 from adafruit/black-update
Black reformatting with Python 3 target.
2020-04-09 09:43:56 -07:00
Kattni Rembor
96e7faf864 Black reformatting with Python 3 target. 2020-04-08 13:09:46 -04:00
sommersoft
d182f6bdb1 build.yml: add black formatting check
Signed-off-by: sommersoft <sommersoft@gmail.com>
2020-04-07 16:09:36 -05:00
Kattni
e0d0e164da
Merge pull request #27 from adafruit/pylint-update
Ran black, updated to pylint 2.x
2020-03-17 14:19:36 -04:00
dherrada
dd954e8531 Ran black, updated to pylint 2.x 2020-03-16 15:01:43 -04:00
sommersoft
0d615c4323 update code of coduct: discord moderation contact section
Signed-off-by: sommersoft <sommersoft@gmail.com>
2020-03-15 18:20:51 -05:00
Kattni
2ea15fffa7
Merge pull request #26 from sommersoft/patch_coc
Update Code of Conduct
2020-03-13 15:00:59 -04:00
sommersoft
00f38c1619 update code of conduct 2020-03-13 13:18:57 -05:00
sommersoft
dd93f8f0af build.yml: move pylint, black, and Sphinx installs to each repo; add description to 'actions-ci/install.sh'
Signed-off-by: sommersoft <sommersoft@gmail.com>
2020-03-05 10:08:15 -06:00
Limor "Ladyada" Fried
61fddde5a4
Merge pull request #18 from markpatterson27/upstream-issue-12
fix gas heater duration
2020-01-26 22:38:12 -05:00
sommersoft
e8bdf56420 update pylint examples directive
Signed-off-by: sommersoft <sommersoft@gmail.com>
2020-01-14 17:07:19 -06:00
Limor "Ladyada" Fried
538ddc7696
Merge pull request #25 from adafruit/dherrada-patch-1
Moved repository from Travis to GitHub Actions
2019-12-27 22:41:55 -05:00
dherrada
ac4d51b0a1 Moved repository from Travis to GitHub Actions 2019-12-27 22:24:11 -05:00
Limor "Ladyada" Fried
ddf279146e
Merge pull request #24 from tayden/patch-1
Fix filter_size setter bug
2019-11-21 22:14:40 -05:00
Taylor Denouden
9211f42be4
Fix filter_size setter bug
self._filter was incorrectly being set with the value of _BME680_FILTERSIZES at the index `size` instead of the index of that size in the sizes list.
2019-11-21 21:17:36 -05:00
Kattni
cad362d0dc
Merge pull request #22 from adafruit/dherrada-patch-1
Removed building locally section from README, replaced with documenta…
2019-10-21 19:56:37 -04:00
dherrada
dab488ae9d
Removed building locally section from README, replaced with documentation section 2019-10-17 18:16:46 -04:00
Limor "Ladyada" Fried
da222c0163
Merge pull request #20 from kattni/fix-up
Add version info, update cookie info
2019-09-23 12:50:02 -04:00
Kattni Rembor
df45c8470a Add version info, update cookie info 2019-09-23 12:46:10 -04:00
Mark Patterson
967e11c6a2 pylint fix. removed spaces. 2019-07-25 23:06:39 +01:00
Mark Patterson
76d5700822 fix gas heater duration 2019-07-25 19:01:54 +01:00
Melissa LeBlanc-Williams
f1b9e6c753
Merge pull request #16 from jraber/master
Add SPI Interface for BME680
2019-03-13 19:44:36 -07:00
Jeff Raber
0d25996200 values parameter for _write() must be a list 2019-03-13 20:59:49 -05:00
Jeff Raber
aa97a7a5a6 Change SPI memory page as needed when reading/writing through SPI
In SPI mode, we must change the memory page depending on which register is
  being read/written.

Renamed const _BME680_REG_STATUS to _BME680_REG_MEAS_STATUS to more closely
  match the name in the datasheet.
2019-03-13 01:52:39 -05:00
Jeff Raber
e71564208f Improve SPI class, mirror the i2c class init and debug
Added the debug init parameter and copied the debug functionality
  from the i2c class
Added the refresh_rate initi parameter
Improved the SPI class docstring
2019-03-12 22:35:28 -05:00
Jeff Raber
0dad9a2a6c Fix-up i2c_device import to make pylint happy 2019-03-12 08:12:39 -05:00
Jeff Raber
2b9a219fa0 Implement SPI interface
Mostly copied from the BME280 python library.
2019-03-12 08:11:27 -05:00
Kattni
8b11e10f42
Merge pull request #15 from sommersoft/readme_fix_travis
Update README Travis Badge
2018-12-21 13:45:38 -06:00
sommersoft
ddbfd4370e change 'travis-ci.org' to 'travis-ci.com' 2018-12-21 13:25:20 -06:00
Limor "Ladyada" Fried
f1fe707751
Merge pull request #14 from robert-hh/master
adafruit_bme680.py: Fix compensation of pressure values
2018-12-01 18:28:39 -08:00
Scott Shawcroft
10b6f918d9
Added space for pylint 2018-11-29 15:01:47 -08:00
robert-hh
4a5daf0bb5
adafruit_bme680.py: Fix compensation of pressure values
Compared the ot reference code, one expression in the lengthy calculation was split in two lines. 
Since a previous interim value was used in the expression twice and replaced by the first 
part of the split expression, the overall result was different to the reference code. The resulting
pressure was not that different, 10 hPa at 1000hPa absolute value, but clearly outside of the
spec with 1hPa absolute pressure error.
2018-11-26 07:52:37 +01:00
sommersoft
1c8dade7c0 ignore the board module imports in .pylintrc
Signed-off-by: sommersoft <sommersoft@gmail.com>
2018-08-25 14:06:12 +00:00
ladyada
2d716298de be exact about length of byte array matching what we're unpacking (CPython cares!) 2018-08-12 00:30:32 -04:00
Brennen Bearnes
3560378eac
Merge pull request #8 from kattni/minor-fixes
Add overwrite/pylint to travis.yml
2018-08-02 14:14:21 -06:00
Kattni Rembor
f22ee9740b Add overwrite/pylint to travis.yml 2018-08-02 15:50:05 -04:00
ladyada
a5a8aea123 fix lint 2018-07-01 17:47:23 -04:00
ladyada
7b696c4ad2 forgot the requirements 2018-07-01 17:40:13 -04:00
ladyada
aedba1d651 prepare to pypi 2018-07-01 17:36:44 -04:00
sommersoft
d2689d073f
Merge pull request #7 from chickadee-tech/fix_bme680
Fix temperature readings and speed things up.
2018-03-15 22:02:53 -05:00
Scott Shawcroft
8f7905315c Use enumerate. 2018-03-15 17:11:51 -07:00
Scott Shawcroft
7c1af7b657 Fix temperature readings and speed things up.
* The default internal attribute values for oversampling were
  incorrect because they needed to be the register values, not the
  human friendly ones.
* Reduce the delay after reset.
* Reduce the read delay by polling the new data bit.
* Introduce refresh_rate setting which allows for returning cached
  values when the properties are accessed quickly.
* I2C writes do not auto-increment so reset the register address
  for every value.

Fixes #5
2018-03-15 11:52:10 -07:00
Kattni
d8843dcae3
Merge pull request #6 from sommersoft/new_docs
Improve Ref Docs
2018-03-11 18:55:20 -04:00
sommersoft
f01e7d21bd updated conf.py; bus device intersphinx link 2018-03-10 09:21:43 -06:00