Skip to content

Add initial functionality for I2C and SPI. #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Nov 5, 2018

Conversation

caternuson
Copy link
Contributor

  • basic readings: pressure, temperature, altitude
  • over sampling individually settable for pressure and temperature
  • IIR filter coefficient

@caternuson caternuson requested a review from a team November 1, 2018 23:11
Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One thing but good otherwise.

raise RuntimeError('Failed to find BMP3XX! Chip ID 0x%x' % chip_id)
self._read_coefficients()
self.reset()
self.sea_level_pressure = 1013.25 # hPa @ MSL
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a """comment""" after this so sea_level_pressure is shown in RTD.

@ladyada
Copy link
Member

ladyada commented Nov 4, 2018

i tested this code, seems to work fine so after the minor update, we can merge!

@ladyada ladyada self-requested a review November 5, 2018 16:22
Copy link
Member

@ladyada ladyada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested with hardware

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, looks good! Thanks!

@tannewt tannewt merged commit 36436ee into adafruit:master Nov 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants