added height authored by Peter Thorsen's avatar Peter Thorsen
......@@ -28,9 +28,9 @@ First, we rebuilt the robot to utilise a light sensor. Our initial construction
Secondly, we programmed an application which used the *BlackWhiteSensor.java* <<<<<<indsæt reference til koden her >>>>>> class to classify colors as either white or black. This application can be seen <<<<<indsæt kode eller reference til git med kode>>>>>>.
The *BlackWhiteSensor.java* class also prints light values to the display as a percentage <<<<indsæt reference til hvor dette er kendt fra >>>>>. We noted these below.
White | Black
--- | ---
51| 33
White | Black
--- | ---
51 | 33
// The threshold is calculated as the median between
// the two readings over the two types of surfaces
......
......