added height authored by Samuel Bjørn Jessen's avatar Samuel Bjørn Jessen
...@@ -133,6 +133,51 @@ SNAK OM DE TRE VÆRDIER, INDSÆT EN MASSE FILM ...@@ -133,6 +133,51 @@ SNAK OM DE TRE VÆRDIER, INDSÆT EN MASSE FILM
### Color Sensor ### ### Color Sensor ###
Readings from display (putter det i en tabel senere)
On white:
Red: 668, 227
Green: 619, 233
Blue: 587, 288
Light: 625, 227
Color: White
On black:
Red: 246, 60
Green: 227, 64
Blue: 176, 63
Light: 210, 73
Color: Green
On blue:
Red: 291, 97
Green: 401, 120
Blue: 454, 204
Light: 282, 155
Color: Blue
On green:
Red: 360, 130
Green: 494, 222
Blue: 286, 108
Light: 329, 164
Color: Green
On red:
Red: 658, 257
Green: 310, 102
Blue: 246, 60
Light: 482, 144
Color: Red
On yellow:
Red: 670, 266
Green: 550, 234
Blue: 325, 105
Light: 512, 208
Color: Yellow
#### Description #### #### Description ####
In the LEGO Mindstorms series there is also a color sensor. Use the test program *ColorSensorSensor.java* to investigate the information that the class ColorSensor provide in Full mode. Place the color sensor over black, white and green to figure out if the information provided can be used to distinguish the three colors. In the LEGO Mindstorms series there is also a color sensor. Use the test program *ColorSensorSensor.java* to investigate the information that the class ColorSensor provide in Full mode. Place the color sensor over black, white and green to figure out if the information provided can be used to distinguish the three colors.
... ...
......