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

NXT C++ Bluetooth Library
Enum Sensor_mode

   in sensor.h

Sensor mode enumeration


Field Summary
ANGLE_MODE = 0xE0
          Rotation (16 ticks per revolution)
BOOL_MODE = 0x20
          Boolean value
CELSIUS_MODE = 0xA0
          Degrees in celsius
FAHRENHEIT_MODE = 0xC0
          Degrees in Fahrenheit
PERCENT_MODE = 0x80
          Scales the raw value and returns a value from 0 to 100
PERIOD_MODE = 0x60
          Counts number of boolean periods
RAW_MODE = 0x00
          Raw value from 0 to 1023
TRANSITION_MODE = 0x40
          Counts number of boolean transitions
 

Field Detail

ANGLE_MODE

public ANGLE_MODE = 0xE0
Rotation (16 ticks per revolution)

BOOL_MODE

public BOOL_MODE = 0x20
Boolean value

CELSIUS_MODE

public CELSIUS_MODE = 0xA0
Degrees in celsius

FAHRENHEIT_MODE

public FAHRENHEIT_MODE = 0xC0
Degrees in Fahrenheit

PERCENT_MODE

public PERCENT_MODE = 0x80
Scales the raw value and returns a value from 0 to 100

PERIOD_MODE

public PERIOD_MODE = 0x60
Counts number of boolean periods

RAW_MODE

public RAW_MODE = 0x00
Raw value from 0 to 1023

TRANSITION_MODE

public TRANSITION_MODE = 0x40
Counts number of boolean transitions

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