Skip to content

Latest commit

 

History

History
151 lines (145 loc) · 2.94 KB

HiTechnic-NXT-Color-Sensor-V2-(NCO1038).md

File metadata and controls

151 lines (145 loc) · 2.94 KB

General

This sensor uses the [[msensor|Using the Mindstorms Sensor Device Class]] device class.

Value
type_id 54
# Modes 8
Connection I2C/M
Vendor ID HiTechnc
Product ID ColorPD

Modes

Mode 0 Mode 1 Mode 2 Mode 3 Mode 4 Mode 5 Mode 6 Mode 7
mode HT-COL2-COL HT-COL2-RED HT-COL2-GRN HT-COL2-BLU HT-COL2-WHT HT-COL2-RAW HT-COL2-NRM HT-COL2-ALL
Description Color Red component Green component Blue component White component Raw values Normalized values All values
num_values 1 1 1 1 1 4 4 5
value0 Color Reflected light intensity Reflected light intensity Reflected light intensity Reflected light intensity ??? ??? ???
 Min 0 0 0 0 0 0 0 0
 Max 17 255??? 255??? 255??? 255??? 65535 255??? 255???
value1 ??? ??? ???
value2 ??? ??? ???
value3 ??? ??? ???
value3 ???
units none1 none none none none none none none
dp (decimal places) 0 0 0 0 0 0 0 0
Values in the tables that look like ```this``` are the names of sysfs attributes or values returned by said attributes.

[1] Color Values:

|Color chart