Overview   Project   Class   Tree   Index 
NXT C++ Bluetooth Library
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

NXT C++ Bluetooth Library
Enum Sensor_type

   in sensor.h

Sensor type enumeration


Field Summary
ADC_8591_SENSOR = 0x10
          PCF8591 8-bit ADC chip - only used as a return type can not be used to set-up a sensor
ANGLE = 0x04
          RCX rotation sensor
COLOR = 0x11
          HiTechnic color sensor - only used as a return type can not be used to set-up a sensor
COMPASS = 0x0E
          HiTechnic compass sensor - only used as a return type can not be used to set-up a sensor
CUSTOM = 0x09
          Custom sensor type
GYRO = 0x12
          HiTechnic gyro sensor - only used as a return type can not be used to set-up a sensor
IO_8574_SENSOR = 0x0F
          PCF8574 I2C I/O chip - only used as a return type can not be used to set-up a sensor
LIGHT_ACTIVE = 0x05
          NXT light sensor with LED on
LIGHT_INACTIVE = 0x06
          NXT light sensor with LED off
LOWSPEED = 0x0A
          I2C digital sensor
LOWSPEED_9V = 0x0B
          I2C digital sensor 9V
NO_SENSOR = 0x00
          No sensor configured
REFLECTION = 0x03
          RCX light sensor
SONAR_INCH = 0x0D
          Sonar sensor returning inch distance - only used as a return type can not be used to set-up a sensor
SONAR_METRIC = 0x0C
          Sonar sensor returning metric distance - only used as a return type can not be used to set-up a sensor
SOUND_DB = 0x07
          NXT sound sensor with dB scaling
SOUND_DBA = 0x08
          NXT sound sensor with dBA scaling
TEMPERATURE = 0x02
          RCX temperature sensor (maybe it workes with the NXT temperature sensor?)
TILT = 0x13
          HiTechnic tilt sensor - only used as a return type can not be used to set-up a sensor
TOUCH = 0x01
          NXT or RCX touch sensor
 

Field Detail

ADC_8591_SENSOR

public ADC_8591_SENSOR = 0x10
PCF8591 8-bit ADC chip - only used as a return type can not be used to set-up a sensor

ANGLE

public ANGLE = 0x04
RCX rotation sensor

COLOR

public COLOR = 0x11
HiTechnic color sensor - only used as a return type can not be used to set-up a sensor

COMPASS

public COMPASS = 0x0E
HiTechnic compass sensor - only used as a return type can not be used to set-up a sensor

CUSTOM

public CUSTOM = 0x09
Custom sensor type

GYRO

public GYRO = 0x12
HiTechnic gyro sensor - only used as a return type can not be used to set-up a sensor

IO_8574_SENSOR

public IO_8574_SENSOR = 0x0F
PCF8574 I2C I/O chip - only used as a return type can not be used to set-up a sensor

LIGHT_ACTIVE

public LIGHT_ACTIVE = 0x05
NXT light sensor with LED on

LIGHT_INACTIVE

public LIGHT_INACTIVE = 0x06
NXT light sensor with LED off

LOWSPEED

public LOWSPEED = 0x0A
I2C digital sensor

LOWSPEED_9V

public LOWSPEED_9V = 0x0B
I2C digital sensor 9V

NO_SENSOR

public NO_SENSOR = 0x00
No sensor configured

REFLECTION

public REFLECTION = 0x03
RCX light sensor

SONAR_INCH

public SONAR_INCH = 0x0D
Sonar sensor returning inch distance - only used as a return type can not be used to set-up a sensor

SONAR_METRIC

public SONAR_METRIC = 0x0C
Sonar sensor returning metric distance - only used as a return type can not be used to set-up a sensor

SOUND_DB

public SOUND_DB = 0x07
NXT sound sensor with dB scaling

SOUND_DBA

public SOUND_DBA = 0x08
NXT sound sensor with dBA scaling

TEMPERATURE

public TEMPERATURE = 0x02
RCX temperature sensor (maybe it workes with the NXT temperature sensor?)

TILT

public TILT = 0x13
HiTechnic tilt sensor - only used as a return type can not be used to set-up a sensor

TOUCH

public TOUCH = 0x01
NXT or RCX touch sensor

 Overview   Project   Class   Tree   Index 
NXT C++ Bluetooth Library
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD