#include <ev3_sensors.h>
Data Fields | |
| bool(* | Init )(int port) |
| void(* | Exit )(int port) |
| int | currentSensorMode [NUM_INPUTS] |
| int SensorHandler::currentSensorMode[NUM_INPUTS] |
Contains a value for each sensor that represents the mode in which the sensor it's working.
For example take the EV3 ultrasonic sensor: the currentSensorMode could have three different values:
Reading the distance in cm is a different reading mode, because the conversion is done from code, it's not a value that we receive from the sensor.
| void(* SensorHandler::Exit)(int port) |
| bool(* SensorHandler::Init)(int port) |
1.8.6