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

Use sensor type constants to configure an input port for a specific type of sensor. More...

Macros

#define IN_TYPE_NO_SENSOR   0x00
 
#define IN_TYPE_SWITCH   0x01
 
#define IN_TYPE_TEMPERATURE   0x02
 
#define IN_TYPE_REFLECTION   0x03
 
#define IN_TYPE_ANGLE   0x04
 
#define IN_TYPE_LIGHT_ACTIVE   0x05
 
#define IN_TYPE_LIGHT_INACTIVE   0x06
 
#define IN_TYPE_SOUND_DB   0x07
 
#define IN_TYPE_SOUND_DBA   0x08
 
#define IN_TYPE_CUSTOM   0x09
 
#define IN_TYPE_LOWSPEED   0x0A
 
#define IN_TYPE_LOWSPEED_9V   0x0B
 
#define IN_TYPE_HISPEED   0x0C
 
#define IN_TYPE_COLORFULL   0x0D
 
#define IN_TYPE_COLORRED   0x0E
 
#define IN_TYPE_COLORGREEN   0x0F
 
#define IN_TYPE_COLORBLUE   0x10
 
#define IN_TYPE_COLORNONE   0x11
 
#define IN_TYPE_COLOREXIT   0x12
 

Detailed Description

Use sensor type constants to configure an input port for a specific type of sensor.

These constants are intended for use in NBC.

See Also
SetSensorType()