bh1750 i2c light sensor driver + pwm cleanup (#330)

Add bh1750 (I2C light sensor) driver + usage example
This commit is contained in:
andree182 2017-04-01 02:20:37 +02:00 committed by Ruslan V. Uss
parent 31ef50c9a9
commit b3f658bdbf
7 changed files with 170 additions and 7 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))