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:
8
src/light/jsupm_light.i
Normal file
8
src/light/jsupm_light.i
Normal file
@@ -0,0 +1,8 @@
|
||||
%module jsupm_light
|
||||
%include "../upm.i"
|
||||
|
||||
%{
|
||||
#include "light.hpp"
|
||||
%}
|
||||
|
||||
%include "light.hpp"
|
||||
Reference in New Issue
Block a user