Final program for the test of the RGB sensor
Dependencies: ISL29125 SDFileSystem mbed
Diff: RGBSensor.cpp
- Revision:
- 1:e0fc716e2394
- Parent:
- 0:547856de255b
diff -r 547856de255b -r e0fc716e2394 RGBSensor.cpp --- a/RGBSensor.cpp Fri Mar 11 23:43:27 2016 +0000 +++ b/RGBSensor.cpp Sat Mar 12 00:01:03 2016 +0000 @@ -11,5 +11,5 @@ RGB_sensor.Resolution(ISL29125_16BIT); } void get_rgb(uint16_t rgb[]){ - RGB_sensor.read(ISL29125_RGB, rgb); + RGB_sensor.Read(ISL29125_RGB, rgb); }