Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jposada202020/circuitpython_tmp117

CircuitPython TMP117 Temperature Sensor Low Memory driver to be used with QT PY M0
https://github.com/jposada202020/circuitpython_tmp117

circuitpython m0 memory qtpy sensor temperature tmp117

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

Introduction
============

.. image:: https://readthedocs.org/projects/circuitpython-tmp117/badge/?version=latest
:target: https://circuitpython-tmp117.readthedocs.io/
:alt: Documentation Status

.. image:: https://img.shields.io/pypi/v/circuitpython-tmp117.svg
:alt: latest version on PyPI
:target: https://pypi.python.org/pypi/circuitpython-tmp117

.. image:: https://static.pepy.tech/personalized-badge/circuitpython-tmp117?period=total&units=international_system&left_color=grey&right_color=blue&left_text=Pypi%20Downloads
:alt: Total PyPI downloads
:target: https://pepy.tech/project/circuitpython-tmp117

.. image:: https://github.com/jposada202020/CircuitPython_TMP117/workflows/Build%20CI/badge.svg
:target: https://github.com/jposada202020/CircuitPython_TMP117/actions
:alt: Build Status

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black
:alt: Code Style: Black

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

The work here was covered under PR#15
on the Adafruit_TMP117 Library https://github.com/adafruit/Adafruit_CircuitPython_TMP117/pull/15

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

Dependencies
=============
This driver depends on:

* `Adafruit CircuitPython `_
* `Bus Device `_
* `Register `_

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:

.. code-block:: shell

pip3 install circuitpython-tmp117

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

.. code-block:: shell

sudo pip3 install circuitpython-tmp117

To install in a virtual environment in your current project:

.. code-block:: shell

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