NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
void MSRCXSetNRLinkPort ( const byte  port,
const byte  i2caddr 
)
inline

MSRCXSetIRLinkPort function.

Set the global port in advance of using the MSRCX* and MSScout* API functions for sending RCX and Scout messages over the mindsensors NRLink device. The port must be configured as a Lowspeed port before using any of the mindsensors RCX and Scout NRLink functions.

Parameters
portThe sensor port. See Input port constants.
i2caddrThe sensor I2C address. See sensor documentation for this value.
Examples:
ex_MSRCXSetNRLinkPort.nxc.