forked from ev3dev/ev3dev
-
Notifications
You must be signed in to change notification settings - Fork 0
HiTechnic NXT SuperPro Prototype Board (SPR2010)
David Lechner edited this page Feb 16, 2014
·
1 revision
This sensor uses the msensor device class.
Value | |
---|---|
type_id |
60 |
# Modes | 8 |
Connection | I2C/M |
Vendor ID | HiTechnc |
Product ID | SuperPro |
Mode 0 | Mode 1 | Mode 2 | Mode 3 | Mode 4 | Mode 5 | Mode 6 | Mode 7 | |
---|---|---|---|---|---|---|---|---|
mode
|
HT-SPRO-AIN
|
HT-SPRO-DIN
|
HT-SPRO-DOT
|
HT-SPRO-DCT
|
HT-SPRO-STB
|
HT-SPRO-LED
|
HT-SPRO-AO0
|
HT-SPRO-AO1
|
Description | Anlog inputs | Digital inputs | Digital outputs | Digital input/output controls | Strobe output | LED control | Analog output O0 | Analog output O1 |
num_values
|
4
|
1
|
1
|
1
|
1
|
1
|
5
|
5
|
value0
|
Analog input A0 (0-1024) | Bits (B0-B7) | Bits (B0-B7) | Bits (B0-B7) | Bits (S0-S3) | LED state1 | Mode | Mode |
value1
|
Analog input A1 (0-1024) | Frequency, most significant byte | Frequency, most significant byte | |||||
value2
|
Analog input A2 (0-1024) | Frequency, least significant byte | Frequency, least significant byte | |||||
value3
|
Analog input A3 (0-1024) | Voltage, most significant byte | Voltage, most significant byte | |||||
value4
|
Voltage, least significant byte2 | Voltage, least significant byte2 | ||||||
units
|
none | none | none | none | none | none | none | none |
dp (decimal places)
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
Value | Description |
---|---|
0 | None |
1 | Red |
2 | Blue |
3 | Red and blue |
[2]: Only the 2 most significant bits are used. Actual value is MSB << 2 + LSB >> 6
or MSB << 2 + LSB & 0x03
(can someone confirm which one?).