When receiving the remote signal codes what method can be generally used?
Answer There are many methods of receiving remote control codes. One common way is to use an I/O port examination method or to use the INT pin detection method. The differences between the two methods is that the I/O port examination method uses more MCU operational time resources as it requires continuous examination of the I/O port levels, in order so as not to miss any effective codes. By setting up a suitable timer interrupt to examine the I/O can reduce required resources and improve efficiency. The INT receive method will use less resources, and not does need constant monitoring. However the INT pin receive method will only be generated on a high or low going edge and cannot distinguish same period but different space ration waveform characteristics. Therefore only when the code carries a logic 1 or logic 0, can the INT pin generated interrupt, accompanied by the software or the timer interrupt, be used to determine the received codes.