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

Committer:
ADIJake
Date:
Mon Jan 08 18:11:30 2018 +0000
Revision:
0:465fb31c5651
Working comparator for solar cells

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ADIJake 0:465fb31c5651 1 http://mbed.org/users/mbed_official/code/mbed/builds/7130f322cb7e