This guide explains the design and usage of the NEC format infrared remote control receiver software module for the HT49CVX microcontroller series.
The document describes a software module designed to decode NEC format infrared remote control signals. It is specifically applicable to the HT49CVX series microcontrollers that feature the RMT TIMER function. The module utilizes the RMT TIMER to record high and low pulse widths, determining signal bits based on relative width comparisons. This manual is written in Chinese.
| MCU | HT49CVX |
|---|---|
| ROM | 128 |
| RAM | 10 bytes |
| System Frequency | 4MHz |
| Input Pin | PC.7/RMT |
The default constants in the receiver_define.asm file are configured for a system frequency of 4MHz.
Users must modify the constants lo_l, lo_h, hi_l, and hi_h in the receiver_define.asm file.