We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
With latest release from PyPI, on Raspberry Pi 3 model B, using example code from the BME680 guide:
(blinkenlight) pi@raspberrypi:~/blinkenlight $ cat bme680_spi.py import board import busio import digitalio import time import adafruit_bme680 spi = busio.SPI(board.SCK, MOSI=board.MOSI, MISO=board.MISO) cs = digitalio.DigitalInOut(board.D5) sensor = adafruit_bme680.Adafruit_BME680_SPI(spi, cs) # Main loop prints sensor values every second. while True: print('Temperature: {} degrees C'.format(sensor.temperature)) print('Gas: {} ohms'.format(sensor.gas)) print('Humidity: {}%'.format(sensor.humidity)) print('Pressure: {}hPa'.format(sensor.pressure)) time.sleep(1.0) (blinkenlight) pi@raspberrypi:~/blinkenlight $ python3 bme680_spi.py Traceback (most recent call last): File "bme680_spi.py", line 10, in <module> sensor = adafruit_bme680.Adafruit_BME680_SPI(spi, cs) AttributeError: module 'adafruit_bme680' has no attribute 'Adafruit_BME680_SPI'
The text was updated successfully, but these errors were encountered:
yah its not implemented
Sorry, something went wrong.
Fixed with #16.
No branches or pull requests
With latest release from PyPI, on Raspberry Pi 3 model B, using example code from the BME680 guide:
The text was updated successfully, but these errors were encountered: