Skip to content

A MicroPython driver for the TI TMP1075 temperature sensor

License

Notifications You must be signed in to change notification settings

mattytrentini/micropython-tmp1075

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

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')

About

A MicroPython driver for the TI TMP1075 temperature sensor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages