Skip to content

Latest commit

 

History

History
129 lines (123 loc) · 2.59 KB

HiTechnic-NXT-Color-Sensor-(v1).md

File metadata and controls

129 lines (123 loc) · 2.59 KB

General

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

Value
type_id 53
# Modes 7
Connection I2C/M
Vendor ID HiTechnc
Product ID Color

Modes

Mode 0 Mode 1 Mode 2 Mode 3 Mode 4 Mode 5 Mode 6
mode HT-COL1-COL HT-COL1-RED HT-COL1-GRN HT-COL1-BLU HT-COL1-RAW HT-COL1-NRM HT-COL1-ALL
Description Color Red component Green component Blue component Raw values Normalized values All values
num_values 1 1 1 1 3 4 4
value0 Color Reflected light intensity Reflected light intensity Reflected light intensity ??? ??? ???
 Min 0 0 0 0 0 0 0
 Max 17 255??? 255??? 255??? 255??? 255??? 255???
value1 ??? ??? ???
value2 ??? ??? ???
value3 ??? ???
units none1 none none none none none none
dp (decimal places) 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