Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: TestColorSensorSadPanda
Fork of ADJD-S371_ColourSens by
Diff: ADJDColourSensor.h
- Revision:
- 2:f4607f324f03
- Parent:
- 1:7944a9bbbe4f
diff -r 7944a9bbbe4f -r f4607f324f03 ADJDColourSensor.h
--- a/ADJDColourSensor.h Tue Dec 03 07:39:28 2013 +0000
+++ b/ADJDColourSensor.h Sat Dec 14 08:17:51 2013 +0000
@@ -53,6 +53,14 @@
int green();
int blue();
int clear();
+ int redCap();
+ int greenCap();
+ int blueCap();
+ int clearCap();
+ int redInt();
+ int greenInt();
+ int blueInt();
+ int clearInt();
int dotProduct(int* features);
double dotProduct(double* features);
@@ -105,5 +113,7 @@
DigitalOut _LED;
int _red, _green, _blue, _clear;
int _address;
+ int _redCap, _greenCap, _blueCap, _clearCap;
+ int _redInt, _greenInt, _blueInt, _clearInt;
};
#endif
\ No newline at end of file
