Introduction - If you have any usage issues, please Google them yourself
The source code for the STM32 microcontroller underlying functional development, the program for the infrared receiver module HX1838 wrote the NEC infrared communication protocol. Which uses the PWM STM32 register output PWM wave as the carrier modulation.