light: Added light sensor C source
Added the C source for the light sensor with necessary changes to cmake,
examples, docs.
* Renamed all files with grovelight to light
* Replaced all instances of grovelight with light
* Added C source for light sensor
* Updated all cmake files
* Added C example for light sensor
* Split out light sensor from grove library
Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
9
src/light/CMakeLists.txt
Normal file
9
src/light/CMakeLists.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
upm_mixed_module_init (NAME light
|
||||
DESCRIPTION "upm light sensor module"
|
||||
C_HDR light.h
|
||||
C_SRC light.c
|
||||
CPP_HDR light.hpp
|
||||
CPP_SRC light.cxx
|
||||
FTI_SRC light_fti.c
|
||||
REQUIRES mraa grove m)
|
||||
target_link_libraries(light-c m)
|
||||
Reference in New Issue
Block a user