6 #ifndef EV3_API_BACK_COMPATIBILITY_H
7 #define EV3_API_BACK_COMPATIBILITY_H
12 #define NO_SEN -1 // No sensor connected
14 #define TOUCH_PRESS 1 // Press
17 #define COL_REFLECT 2 // Reflect
18 #define COL_AMBIENT 3 // Ambient
19 #define COL_COLOR 4 // Color
22 #define US_DIST_CM 5 // Dist in cm
23 #define US_DIST_MM 6 // Dist in mm
24 #define US_DIST_IN 7 // Dist in inch
27 #define GYRO_ANG 8 // angle
28 #define GYRO_RATE 9 // rate
31 #define IR_PROX 10 // Proximity
32 #define IR_SEEK 11 // Seek
33 #define IR_REMOTE 12 // Remote Control
36 #define NXT_IR_SEEKER 20 // Infrared Seeker
37 #define NXT_TEMP_C 21 // Temperature in C
38 #define NXT_TEMP_F 22 // Temperature in F
54 #endif //EV3_API_BACK_COMPATIBILITY_H
int ReadSensor(int sensorPort)
int SetAllSensorMode(int name_1, int name_2, int name_3, int name_4)
int SetIRBeaconCH(int sensorPort, int channel)
Imports all the c4ev3 supported sensors.