Final program for the test of the RGB sensor
Dependencies: ISL29125 SDFileSystem mbed
RGBSensor.h@4:08069730374b, 2016-03-17 (annotated)
- Committer:
- Jeriah
- Date:
- Thu Mar 17 18:41:44 2016 +0000
- Revision:
- 4:08069730374b
- Parent:
- 1:e0fc716e2394
Error fixed, I didn't have a reading for blue
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Jeriah | 1:e0fc716e2394 | 1 | #include "mbed.h" |
Jeriah | 0:547856de255b | 2 | |
Jeriah | 4:08069730374b | 3 | #ifndef RGBSensor_H |
Jeriah | 4:08069730374b | 4 | #define RGBSensor_H |
Jeriah | 1:e0fc716e2394 | 5 | |
Jeriah | 1:e0fc716e2394 | 6 | |
Jeriah | 0:547856de255b | 7 | void RGB_init(); |
Jeriah | 0:547856de255b | 8 | void get_rgb(uint16_t rgb[]); |
Jeriah | 0:547856de255b | 9 | |
Jeriah | 1:e0fc716e2394 | 10 | #endif |