NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
int MSRCXPoll ( const byte  src,
const byte  value 
)
inline

MSRCXPoll function.

Send the Poll command to an RCX to read a signed 2-byte value at the specified source and value combination.

Parameters
srcThe RCX source. See RCX and Scout source constants.
valueThe RCX value.
Returns
The value read from the specified port and value.
Examples:
ex_MSRCXPoll.nxc.