Working laser maze comparator. Solar cells need to be connected with ground and the +ve line connected to A0 - A4. These correspond to the output on D6-D2 respectively. Reseting the nucleo takes a base reading of the solar cells. This base reading is used, along with the #define OFFSET value to either output a 0 or a 1 if the solar cell value is over the first reading + offset.

Dependencies:   mbed

Download repository: zip gz

Files at revision 2:87c34bb330c2

Name Size Actions
[up]
main.cpp 1757 Revisions Annotate
mbed.bld 65 Revisions Annotate