Sensor classes


This is the base class all the other sensor classes are derived from.

Special sensor classes

The classes derive from Sensor and provide helper functions specific to the corresponding sensor type. Each of the functions makes sure the sensor is in the required mode and then returns the specified value.

Touch Sensor

Color Sensor

Ultrasonic Sensor

Gyro Sensor

Infrared Sensor

Sound Sensor

Light Sensor