Skip to content
A MicroPython driver for the TI TMP1075 temperature sensor
Branch: master
Clone or download
Latest commit 4bae396 Mar 24, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src FIrst commit Mar 24, 2019
README.md FIrst commit Mar 24, 2019

README.md

micropython-tmp1075

A MicroPython driver for the TI TMP1075 temperature sensor

Currently only supports querying of the temperature.

Usage

    i2c = I2C(sda=Pin(33), scl=Pin(32), freq=133000)
    tmp1075 = Tmp1075(i2c)
    tmp1075.get_temperature()

Unit tests

Expects the MicroPython unittest module to be installed.

    import unittest
    unittest.main('test_tmp1075')
You can’t perform that action at this time.