catdog2 / mpy_bh1750fvi_esp8266

bh1750fvi driver for micropython on esp8266

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bh1750fvi driver for micropython on esp8266

Example:

import bh1750fvi
from machine import I2C,Pin
i2c = I2C(Pin(5),Pin(4))
result = bh1750fvi.sample(i2c) # in lux

About

bh1750fvi driver for micropython on esp8266

License:Apache License 2.0


Languages

Language:Python 100.0%