Sensor variables

Besides constants, in TRIK Studio reserved variables are available that store the values ​​of the readings of sensors connected to the corresponding ports.

These values ​​can be assigned to variables and used in mathematical expressions.

Variables have the form

sensor<port name>

For example, sensorA1 for TRIK or sensor1 for Lego NXT.

A complete list of sensor variables is provided in sections for specific platforms: