Qisi Wang
/
ADJD-S311_HelloWorld
A simple hello_world program for the ADJD-S311 color sensor
Revision 1:01a7d7326f80, committed 2014-03-24
- Comitter:
- CheeseW
- Date:
- Mon Mar 24 05:35:39 2014 +0000
- Parent:
- 0:b3232f332f48
- Commit message:
- Out for publication!
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r b3232f332f48 -r 01a7d7326f80 main.cpp --- a/main.cpp Mon Mar 24 05:33:13 2014 +0000 +++ b/main.cpp Mon Mar 24 05:35:39 2014 +0000 @@ -1,6 +1,11 @@ #include "mbed.h" #include "ADJDs311.h" +/** + * An example program using the ADJD-S311 color sensor to obtain the reflexive + * color of objects. + */ + ADJDs311 colorSensor(p28, p27, p23); Serial pc(USBTX, USBRX);