Introduction - If you have any usage issues, please Google them yourself
Remote control via the computer serial decode show/* Crystal: 11.0569MHz* /# Include <REGX52.h># Define uchar unsigned charuchar data IRcode [4]// define a 4-byte array used to store code uchar CodeTemp// encoding variable byte cache uchar i, j, k// delay cycle with variable sbit IRsignal = P3 ^ 2// HS0038 receive the first direct link OUT terminal P3.2 (INT0 )/************************** 0.9ms delay**********************/ void Subroutine Delay0_9ms (void) (uchar j, k for (j = 18 j> 0 j-) for (k = 20 k> 0 k-) }/*************************** Subroutine 1ms delay**********************/ void Delay1ms (void) (uchar i, j for (i = 2 i> 0 i-) for (j = 230 j> 0 j-))