In addition to constant, TRIK Studio has reserved variables that store the values of readings of the sensors connected to the corresponding ports.
These values can be assigned to variables and used in mathematical expressions.
State of the buttons on the robot body: "Back", "Down", "Enter", "Left", "Right", "Up" respectively.
Possible values: 0 - button not pressed. 1 - button is pressed.
Encoder readings on ports A, B, C, D, respectively.
Sensor readings on ports 1, 2, 3, 4 respectively.