planetx.colorHSV
Appearance
Reads the hue, saturation and value of the light seen by a PlanetX color sensor (such as EF05006), taken relative to a white LEGO brick.
Function
Synopsis
planetx.colorHSV()
Returns
Three numbers: hue in degrees from 0 to 360, saturation from 0 to 1, and value, 1 for a white LEGO brick 1 to 2 cm away. An error is raised if no sensor answers.