Skip to content

Driver and class names changed!

Compare
Choose a tag to compare
@kattni kattni released this 07 Aug 20:07
d691567

The driver name has been changed to reflect the product and repo names. The class name has been updated as well. THIS CHANGES HOW YOU USE THIS LIBRARY IN YOUR CODE.

  • Drive filename is now adafruit_sht31d.py.
  • Class name is now SHT31D.

If you are using existing code, you will need to update!

To use this library, your import and setup lines will now look like the following:

import adafruit_sht31d
sensor = adafruit_sht31d.SHT31D(i2c)

Also, now on PyPi!

  • Added setup.py
  • Added PyPI release info to .travis.yml
  • Updated requirements.txt
  • Added a more comprehensive .gitignore

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip install adafruit-circuitpython-sht31d.

Read the docs for info on how to use it.