The way most use this protocol, RF[0] indicates a device (e.g. TV, CD player) and RF[2] indicates a button (e.g. number, Vol+). RF[1] is the bitwise complement of RF[0] and RF[3] is the bitwise complement of RF[2]. So, you are probably safe using either RF[2] or RF[3].
I would suggest a change...That merely waits until the initial space part of the header passes. With RF I found that was necessary.Code:while irpin = 1:wend





Bookmarks