readColor
Read color of object in front of color sensor
Description
reads the color of an object in front of the color sensor, and returns it as a string, such
as color
= readColor(mycolorsensor
)red
, green
, or blue
.
Read color of object in front of color sensor
reads the color of an object in front of the color sensor, and returns it as a string, such
as color
= readColor(mycolorsensor
)red
, green
, or blue
.