1
0
mirror of https://github.com/cmur2/python-veml6070.git synced 2026-03-13 04:46:31 +01:00

module: add pytest for unit and snapshot testing with travis-ci

This commit is contained in:
cn
2018-03-14 00:39:10 +01:00
parent 8cfb2541b9
commit 2086f111f2
9 changed files with 244 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
# python-veml6070
[![Build Status](https://travis-ci.org/cmur2/python-veml6070.svg?branch=master)](https://travis-ci.org/cmur2/python-veml6070)
A Python library for accessing the [VEML6070 digital UV light sensor](http://www.vishay.com/docs/84277/veml6070.pdf) from Vishay via `python-smbus` using the I2C interface.
Default settings are suitable for Raspberry Pi 2 and 3 and was successfully tested using a [breakout](https://github.com/watterott/VEML6070-Breakout).