bh1750 i2c light sensor driver + pwm cleanup (#330)
Add bh1750 (I2C light sensor) driver + usage example
This commit is contained in:
parent
31ef50c9a9
commit
b3f658bdbf
7 changed files with 170 additions and 7 deletions
9
extras/bh1750/component.mk
Normal file
9
extras/bh1750/component.mk
Normal 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))
|
||||
Loading…
Add table
Add a link
Reference in a new issue