NXC
Version 1.2.1 r5
Main Page
Related Pages
Modules
Data Structures
Files
Examples
All
Data Structures
Files
Functions
Variables
Groups
Pages
byte SensorMode
(
const byte &
port
)
inline
Read sensor mode.
Return the mode of a sensor on the specified port.
Parameters
port
The sensor port. See
Input port constants
. A variable whose value is the desired sensor port may also be used.
Returns
The sensor's mode. See
Sensor mode constants
.
Examples:
ex_SensorMode.nxc
.
Input module functions
Generated by
1.8.2