Add bh1750 (I2C light sensor) driver

This commit is contained in:
Andrej Krutak 2017-01-26 12:10:02 +01:00 committed by Andrej Krutak
parent 31ef50c9a9
commit 174dba8c8b
3 changed files with 119 additions and 0 deletions

View file

@ -0,0 +1,9 @@
# Component makefile for extras/bh1750
# expected anyone using RTC driver includes it as 'bh1750/bh1750.h'
INC_DIRS += $(bh1750_ROOT)..
# args for passing into compile rule generation
bh1750_SRC_DIR = $(bh1750_ROOT)
$(eval $(call component_compile_rules,bh1750))