#include "ev3_sensors.h"Go to the source code of this file.
Data Structures | |
| struct | RGBA |
Macros | |
| #define | HT_COLOR_SENSOR_V2_DEFAULT_MODE 0 |
| #define | HT_COLOR_SENSOR_V2_PASSIVE_MODE 1 |
| #define | HT_COLOR_SENSOR_V2_RAW_MODE 3 |
Typedefs | |
| typedef enum HTColorV2PowerMainsFrequency | HTColorV2PowerMainsFrequency |
| typedef enum HTColorV2ReadingMode | HTColorV2ReadingMode |
| typedef struct RGBA | RGBA |
Enumerations | |
| enum | HTColorV2PowerMainsFrequency { PowerMains50Hz, PowerMains60Hz } |
| enum | HTColorV2ReadingMode { HTColorSensorDefaultMode, HTColorSensorPassiveMode, HTColorSensorRawMode } |
Functions | |
| int | ReadHTColorSensorV2 (int port) |
| RGBA | ReadHTColorSensorV2RGBA (int port, HTColorV2ReadingMode mode) |
| void | SetHTColorV2PowerMainsFrequency (int port, HTColorV2PowerMainsFrequency frequency) |
Variables | |
| SensorHandler * | HTColorV2 |
| #define HT_COLOR_SENSOR_V2_DEFAULT_MODE 0 |
| #define HT_COLOR_SENSOR_V2_PASSIVE_MODE 1 |
| #define HT_COLOR_SENSOR_V2_RAW_MODE 3 |
| typedef enum HTColorV2PowerMainsFrequency HTColorV2PowerMainsFrequency |
| typedef enum HTColorV2ReadingMode HTColorV2ReadingMode |
| enum HTColorV2ReadingMode |
| int ReadHTColorSensorV2 | ( | int | port | ) |
| RGBA ReadHTColorSensorV2RGBA | ( | int | port, |
| HTColorV2ReadingMode | mode | ||
| ) |
| void SetHTColorV2PowerMainsFrequency | ( | int | port, |
| HTColorV2PowerMainsFrequency | frequency | ||
| ) |
| SensorHandler* HTColorV2 |
1.8.6