NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
unsigned int SensorRaw ( const byte &  port)
inline

Read sensor raw value.

Return the raw value of a sensor on the specified port.

Parameters
portThe sensor port. See Input port constants. A variable whose value is the desired sensor port may also be used.
Returns
The sensor's raw value.
Examples:
ex_SensorRaw.nxc.