Skip to content

CircuitPython TMP117 Temperature Sensor Low Memory driver to be used with QT PY M0

License

Notifications You must be signed in to change notification settings

jposada202020/CircuitPython_TMP117

Repository files navigation

Introduction

Documentation Status latest version on PyPI Total PyPI downloads Build Status Code Style: Black

CircuitPython TMP117 Temperature Sensor Low Memory driver. This is refactor to work with a QT Py M0. See issue adafruit/Adafruit_CircuitPython_TMP117#11

The work here was covered under PR#15 on the Adafruit_TMP117 Library adafruit/Adafruit_CircuitPython_TMP117#15

There were small changes after the PR, those are included here too.

Dependencies

This driver depends on:

Please ensure all dependencies are available on the CircuitPython filesystem.

Installing from PyPI

On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally from PyPI. To install for current user:

pip3 install circuitpython-tmp117

To install system-wide (this may be required in some cases):

sudo pip3 install circuitpython-tmp117

To install in a virtual environment in your current project:

mkdir project-name && cd project-name
python3 -m venv .venv
source .env/bin/activate
pip3 install circuitpython-tmp117

Usage Example

Take a look at the examples directory