@@ -62,6 +62,12 @@ Use the idea and structure of the BlackWhiteSensor to program a class ThreeColor
...
@@ -62,6 +62,12 @@ Use the idea and structure of the BlackWhiteSensor to program a class ThreeColor
We extended the behaviour of *BlackWhiteSensor.java* to calibrate for green as well as the black and white. The extended application can be seen in <<<<<<indsætreftilkode,ellerindsætkode>>>>>>.
We extended the behaviour of *BlackWhiteSensor.java* to calibrate for green as well as the black and white. The extended application can be seen in <<<<<<indsætreftilkode,ellerindsætkode>>>>>>.
Having done this, we installed the program on the robot and started classifying black, white and green. The green color was dark green and was thus very close to black for the light sensor.