#include "ev3_sensors.h"Go to the source code of this file.
Data Structures | |
| struct | EV3IrSeekResult |
Macros | |
| #define | EV3_IR_CHANNELS 4 |
| #define | EV3_IR_SENSOR_PROXIMITY_MODE 0 |
| #define | EV3_IR_SENSOR_SEEK_MODE 1 |
| #define | EV3_IR_SENSOR_REMOTE_MODE 2 |
| #define | BEACON_CH_1 0 |
| #define | BEACON_CH_2 1 |
| #define | BEACON_CH_3 2 |
| #define | BEACON_CH_4 3 |
| #define | BEACON_OFF 0 |
| #define | BEACON_UP_LEFT 1 |
| #define | BEACON_DOWN_LEFT 2 |
| #define | BEACON_UP_RIGHT 3 |
| #define | BEACON_DOWN_RIGHT 4 |
| #define | BEACON_UP 5 |
| #define | BEACON_DIAG_UP_LEFT 6 |
| #define | BEACON_DIAG_UP_RIGHT 7 |
| #define | BEACON_DOWN 8 |
| #define | BEACON_ON 9 |
| #define | BEACON_LEFT 10 |
| #define | BEACON_RIGHT 11 |
Typedefs | |
| typedef struct EV3IrSeekResult | EV3IrSeekResult |
Functions | |
| EV3IrSeekResult | ReadEV3IrSensorSeek (int port) |
| int | ReadEV3IrSensorProximity (int port) |
| int | ReadEV3IrSensorRemote (int port, int channel) |
Variables | |
| SensorHandler * | EV3Ir |
| #define BEACON_CH_1 0 |
| #define BEACON_CH_2 1 |
| #define BEACON_CH_3 2 |
| #define BEACON_CH_4 3 |
| #define BEACON_DIAG_UP_LEFT 6 |
| #define BEACON_DIAG_UP_RIGHT 7 |
| #define BEACON_DOWN 8 |
| #define BEACON_DOWN_LEFT 2 |
| #define BEACON_DOWN_RIGHT 4 |
| #define BEACON_LEFT 10 |
| #define BEACON_OFF 0 |
| #define BEACON_ON 9 |
| #define BEACON_RIGHT 11 |
| #define BEACON_UP 5 |
| #define BEACON_UP_LEFT 1 |
| #define BEACON_UP_RIGHT 3 |
| #define EV3_IR_CHANNELS 4 |
| #define EV3_IR_SENSOR_PROXIMITY_MODE 0 |
| #define EV3_IR_SENSOR_REMOTE_MODE 2 |
| #define EV3_IR_SENSOR_SEEK_MODE 1 |
| typedef struct EV3IrSeekResult EV3IrSeekResult |
| int ReadEV3IrSensorProximity | ( | int | port | ) |
| int ReadEV3IrSensorRemote | ( | int | port, |
| int | channel | ||
| ) |
| EV3IrSeekResult ReadEV3IrSensorSeek | ( | int | port | ) |
| SensorHandler* EV3Ir |
1.8.6