Go to the source code of this file.
Macros | |
| #define | EV3_ULTRASONIC_SENSOR_DISTANCE_MM_MODE 0 |
| #define | EV3_ULTRASONIC_SENSOR_DISTANCE_IN_MODE 1 |
| #define | EV3_ULTRASONIC_SENSOR_LISTEN_MODE 2 |
Typedefs | |
| typedef enum EV3UltrasonicDistanceUnit | EV3UltrasonicDistanceUnit |
Enumerations | |
| enum | EV3UltrasonicDistanceUnit { CM, MM, IN } |
Functions | |
| int | ReadEV3UltrasonicSensorDistance (int port, EV3UltrasonicDistanceUnit mode) |
| bool | ReadEV3UltrasonicSensorListen (int port) |
Variables | |
| SensorHandler * | EV3Ultrasonic |
| #define EV3_ULTRASONIC_SENSOR_DISTANCE_IN_MODE 1 |
| #define EV3_ULTRASONIC_SENSOR_DISTANCE_MM_MODE 0 |
| #define EV3_ULTRASONIC_SENSOR_LISTEN_MODE 2 |
| typedef enum EV3UltrasonicDistanceUnit EV3UltrasonicDistanceUnit |
| int ReadEV3UltrasonicSensorDistance | ( | int | port, |
| EV3UltrasonicDistanceUnit | mode | ||
| ) |
| bool ReadEV3UltrasonicSensorListen | ( | int | port | ) |
| SensorHandler* EV3Ultrasonic |
1.8.6