37 int system()
const {
return _system; }
48 unsigned long lastChange;
51 volatile unsigned buffer;
54 void handleInterrupt();
56 friend void _IR_receive_interrupt(
void);
int system() const
Returns the system number of the previous command(), indicating whether the command was for a TV...
IRreceiver(int interruptNumber=0)
Constructs a new infrared remote control receiver that is attached to interruptNumber.
Manages the reception of RC-5 commands from an infrared remote control.
int command()
Returns the next command from the remote control.
void setSystemFilter(int system)
Sets the system to filter commands against, or -1 to turn off the system filter.
static const int AUTO_REPEAT
Flag that is added to the output of command() when the command is an auto-repeated button press rathe...
int systemFilter() const
Returns the system to filter commands against, or -1 if no filter is set.