Skip to content

Commit f6a8eb9

Browse files
ddemidovWasabiFan
authored andcommitted
Return raw color values in a tuple from ColorSensor.raw() (#171)
This is based on #169
1 parent 436957c commit f6a8eb9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

spec.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1102,6 +1102,15 @@
11021102
" - 7: Brown"
11031103
]
11041104
},
1105+
{
1106+
"name": "Raw",
1107+
"sourceValue": [0, 1, 2],
1108+
"type": ["int", "int", "int"],
1109+
"requiredMode": "RGB-RAW",
1110+
"description": [
1111+
"Red, green, and blue components of the detected color, in the range 0-1020."
1112+
]
1113+
},
11051114
{
11061115
"name": "Red",
11071116
"sourceValue": [0],

0 commit comments

Comments
 (0)