Final program for the test of the RGB sensor
Dependencies: ISL29125 SDFileSystem mbed
Diff: RGBSensor.h
- Revision:
- 1:e0fc716e2394
- Parent:
- 0:547856de255b
- Child:
- 4:08069730374b
--- a/RGBSensor.h Fri Mar 11 23:43:27 2016 +0000 +++ b/RGBSensor.h Sat Mar 12 00:01:03 2016 +0000 @@ -1,8 +1,10 @@ -#ifndef RGB -#define RGB -#include "RGBSensor.cpp" +#include "mbed.h" -extern ISL29125 RGB_sensor; +#ifndef RGBSensor +#define RGBSensor + + void RGB_init(); void get_rgb(uint16_t rgb[]); +#endif