| aIR_RXInt | Index |
Definition:
| int aIR_RXInt( | ); |
Return Value:
Description:
This routine reads the contents in the address port mapped to the IR recieve pin. The value is returned as an integer value.
| Note: | This routine only works with BrainStem GP 2.0 modules. |
Example:
#include <aIR.tea>
aIR_ConfigRX(AIR_PROTOCOL_NEC,AIR_REPLY_TEA);
int n;
n = aIR_RXInt();
This would enable IR detection in the form of the NEC IR protocol. An IR value that is received is stored into the variable n.
Related: