NXC
Version 1.2.1 r5
Main Page
Related Pages
Modules
Data Structures
Files
Examples
All
Data Structures
Files
Functions
Variables
Groups
Pages
byte SensorType
(
const byte &
port
)
inline
Read sensor type.
Return the type 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 type. See
Sensor type constants
.
Examples:
ex_SensorType.nxc
.
Input module functions
Generated by
1.8.2