% High-level class to work with sensors. Information given in this doc can be used to adjust settings of
% sensor objects within the EV3 class.
% Information given in this section can be used to configure a sensor's measurements.
% For example the Touch-Sensor is capable of either detecting whether it is being pushed, or count the number of pushes.
% In order to change it's mode and hence it's return values, an EV3 object has to be created and connected beforehand. Assuming the physical sensor has
% been connected to sensor port 1 of the physical brick, the mode change is done as follows:
%
% ::
%
% Example:
% //initialization:
% brick = EV3()
% brick.connect('usb')
%
% //changing mode of sensor:
% brick.sensor1.mode = DeviceMode.Touch.Bumps
%
% The available modes to a given sensor are described in the Attributes section.
%
% The Sensor-class facilitates the communication with sensors. This mainly consists of
% reading the sensor's type and current value in a specified mode.
%
% Notes:
% * You don't need to create instances of this class. The EV3-class automatically creates