| aIRCM_SetLocalAddr | Index |
Definition:
Parameters:
| addr | - | IIC address of the specified IRCM. |
| data | - | The data to be written to the local node address register. |
Return Value:
Description:
This routine writes to the local address register in an IRCM. This sets the address of the module when being used in a network of multiple IRCMs. See the documentation for the IR Communication Module for more details regarding IRCM register functions.
| Note: | This routine is defined as a macro that calls the aI2C_WriteChar routine. |
Example:
#include <aIRCM.tea>
aIRCM_SetLocalAddr((unsigned char)0xC0, 4);
This would write the value 4 to the IRCM local address register.
Related: