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

mbed.bld

Committer:
ADIJake
Date:
2018-01-08
Revision:
0:465fb31c5651

File content as of revision 0:465fb31c5651:

http://mbed.org/users/mbed_official/code/mbed/builds/7130f322cb7e