The key to simulate the PT2262 coding is to control the
pulse width[5]. And the fixed time interrupt is designed in
the software to better meet it. After ARM identifying
message commands, the wireless module data pin is set to
high or low voltage according to the address and data codes.
However, radio frequency interference is more serious. So
the same sequence of data should be sent 12 times and CRC
(cyclic redundancy check) should be used to prevent random
errors in transmission. In this way, it ensures efficient,
without error to transmit wireless data.