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

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

Macros

#define SENSOR_TYPE_NONE   IN_TYPE_NO_SENSOR
 
#define SENSOR_TYPE_TOUCH   IN_TYPE_SWITCH
 
#define SENSOR_TYPE_TEMPERATURE   IN_TYPE_TEMPERATURE
 
#define SENSOR_TYPE_LIGHT   IN_TYPE_REFLECTION
 
#define SENSOR_TYPE_ROTATION   IN_TYPE_ANGLE
 
#define SENSOR_TYPE_LIGHT_ACTIVE   IN_TYPE_LIGHT_ACTIVE
 
#define SENSOR_TYPE_LIGHT_INACTIVE   IN_TYPE_LIGHT_INACTIVE
 
#define SENSOR_TYPE_SOUND_DB   IN_TYPE_SOUND_DB
 
#define SENSOR_TYPE_SOUND_DBA   IN_TYPE_SOUND_DBA
 
#define SENSOR_TYPE_CUSTOM   IN_TYPE_CUSTOM
 
#define SENSOR_TYPE_LOWSPEED   IN_TYPE_LOWSPEED
 
#define SENSOR_TYPE_LOWSPEED_9V   IN_TYPE_LOWSPEED_9V
 
#define SENSOR_TYPE_HIGHSPEED   IN_TYPE_HISPEED
 
#define SENSOR_TYPE_COLORFULL   IN_TYPE_COLORFULL
 
#define SENSOR_TYPE_COLORRED   IN_TYPE_COLORRED
 
#define SENSOR_TYPE_COLORGREEN   IN_TYPE_COLORGREEN
 
#define SENSOR_TYPE_COLORBLUE   IN_TYPE_COLORBLUE
 
#define SENSOR_TYPE_COLORNONE   IN_TYPE_COLORNONE
 

Detailed Description

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

See Also
SetSensorType()