Constants / Enums

Due to the inherent differences between the various languages that we support here, the enums listed below can also be declared as global constants.

Ports

INPUT_AUTO

Automatic input selection. Value is instance-specific (see below for details)

OUTPUT_AUTO

Automatic output selection. Value is instance-specific (see below for details)

INPUT_1

Sensor port 1, "in1"

INPUT_2

Sensor port 2,, "in2"

INPUT_3

Sensor port 3, "in3"

INPUT_4

Sensor port 4, "in4"

OUTPUT_A

Motor port A, "outA"

OUTPUT_B

Motor port B, "outB"

OUTPUT_C

Motor port C, "outC"

OUTPUT_D

Motor port D, "outD"

Note

The values for the *_AUTO constants can be chosen by the implementation. They can have any value that signifies an auto-search.