Constants and functions related to the Input module. More...
Modules | |
Input module functions | |
Functions for accessing and modifying input module features. | |
Input module constants | |
Constants that are part of the NXT firmware's Input module. |
Constants and functions related to the Input module.
The NXT input module encompasses all sensor inputs except for digital I2C (LowSpeed) sensors.
There are four sensors, which internally are numbered 0, 1, 2, and 3. This is potentially confusing since they are externally labeled on the NXT as sensors 1, 2, 3, and 4. To help mitigate this confusion, the NBC port name constants IN_1, IN_2, IN_3, and IN_4 may be used when a sensor port is required. See NBC Input port constants.