Qisi Wang
/
ADJD-S311_HelloWorld
A simple hello_world program for the ADJD-S311 color sensor
Diff: main.cpp
- Revision:
- 1:01a7d7326f80
- Parent:
- 0:b3232f332f48
--- 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);