IR dev, key, interrupt
dev is a variable that will be updated with the device code and key is the variable to be updated with the key code.
interrupt is the interrupt label to call when a new key press has been detected.
The IR decoding is done in the background and the program will continue after this command without interruption.
IR SEND pin, dev, cmd
pin is the I/O pin used
dev is the device code to send
cmd is the key code
Any I/O pin on the Maximite can be used and you do not have to set it up beforehand (the IR SEND command will automatically do that).