NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
NBC sensor mode constants

Use sensor mode constants to configure an input port for the desired sensor mode. More...

Macros

#define IN_MODE_RAW   0x00
 
#define IN_MODE_BOOLEAN   0x20
 
#define IN_MODE_TRANSITIONCNT   0x40
 
#define IN_MODE_PERIODCOUNTER   0x60
 
#define IN_MODE_PCTFULLSCALE   0x80
 
#define IN_MODE_CELSIUS   0xA0
 
#define IN_MODE_FAHRENHEIT   0xC0
 
#define IN_MODE_ANGLESTEP   0xE0
 
#define IN_MODE_SLOPEMASK   0x1F
 
#define IN_MODE_MODEMASK   0xE0
 

Detailed Description

Use sensor mode constants to configure an input port for the desired sensor mode.

The constants are intended for use in NBC.

See Also
SetSensorMode()