1 #ifndef EV3_API_EV3_COLOR_H
2 #define EV3_API_EV3_COLOR_H
6 #define EV3_COLOR_SENSOR_REFLECT_MODE 0
7 #define EV3_COLOR_SENSOR_AMBIENT_MODE 1
8 #define EV3_COLOR_SENSOR_COLOR_MODE 2
9 #define EV3_COLOR_SENSOR_RGB_MODE 4
46 #endif //EV3_API_EV3_COLOR_H
Color ReadEV3ColorSensor(int port)
Definition: ev3_color.h:19
EV3ColorLightReadingMode
Definition: ev3_color.h:30
int blue
Definition: ev3_color.h:26
Definition: ev3_color.h:14
int ReadEV3ColorSensorLight(int port, EV3ColorLightReadingMode mode)
Definition: ev3_color.h:15
int red
Definition: ev3_color.h:25
Definition: ev3_color.h:18
Definition: ev3_color.h:21
int green
Definition: ev3_color.h:27
Definition: ev3_color.h:31
Definition: ev3_color.h:17
Definition: ev3_color.h:20
Definition: ev3_color.h:24
Imports all the c4ev3 supported sensors.
Definition: ev3_color.h:16
RGB ReadEV3ColorSensorRGB(int port)
Color
Definition: ev3_color.h:13
Definition: ev3_color.h:32
Definition: ev3_sensors.h:15