DroidScript wiki

(was AndroidScript) unofficial documentation by the community

User Tools

Site Tools


built_in:nxt_readcolorsensor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

built_in:nxt_readcolorsensor [2015/03/09 16:05]
octazid created
built_in:nxt_readcolorsensor [2015/03/21 18:35] (current)
madlyr [ReadColorSensor]
Line 14: Line 14:
 If the mode **ColorDetect** is chosen, then the returned values will be a number between 1 and 6 which represent the following colors: black, blue, green, yellow, red, white. If the mode **ColorDetect** is chosen, then the returned values will be a number between 1 and 6 which represent the following colors: black, blue, green, yellow, red, white.
  
-You can use the **ToColorName** function to convert from these six values to a color name+You can use the [[nxt_tocolorname|ToColorName]] function to convert from these six values to a color name
  
 If any of the other modes are chosen, then the result will be a color intensity value between 0 and 1023. If any of the other modes are chosen, then the result will be a color intensity value between 0 and 1023.
built_in/nxt_readcolorsensor.txt ยท Last modified: 2015/03/21 18:35 by madlyr