-
1. Principle 1. Infrared emission protocol There are many infrared communication protocols. This experiment uses the NEC protocol. This protocol uses PWM modulation and uses pulse width to represen...[Details]
-
1. Development Environment 1. Applicable chips: All STM32F4 chips 2. Firmware library: STM32F4xx_DSP_StdPeriph_Lib_V1.8.0 3,IDE:MDK517 2. Driver source code Delay.h File /**...[Details]
-
1. Photovoltaic inverter installation process
1. Preparation before installation
Are the product accessories, installation tools and parts complete? Is the installation environmen...[Details]
-
Today, under the guidance of a low-level expert, I learned how to configure the PWM module! Woof! First open the file configured last time, as follows: Then, we need to use TIM1 to set PWM: Then,...[Details]
-
Function List and Notes (lower-level driver part) 1. IO port initialization: control IO and communication IO. Control includes power control, reset and low power mode. Communication is the serial po...[Details]
-
As many companies listed with
the concept of
touch screen
begin to "transform and upgrade", the official voice of the TP industry is getting smaller and smaller. At the same time, the list o...[Details]
-
Superconductors have physical properties such as zero resistance effect, Meissner effect and Josephson effect, which make them have broad application prospects and unparalleled advantages in many b...[Details]
-
Recently, Zhejiang Lipu Crushing Equipment Co., Ltd. invested 50 million yuan to build a new "annual production of 1,200 high-efficiency and energy-saving ultra-fine pulverizer construction project...[Details]
-
The implementation of CAN driver under embedded operating system Android requires not only adding CAN driver device in Linux kernel, but also implementing the call of Android HAL layer. Taking S5...[Details]
-
Using the WWDG of STM32F030, it is found that the MCU will not be reset under STOP, just like the sleep mode of STM8S. Paste the watchdog code: /******************************************************...[Details]
-
pre name="code" class="cpp" uint32_t ADC_Detect(uint32_t AD_Channel) { hadc.Instance- CHSELR = 0; ADC_ChannelConfTypeDef sConfig; sConfig.Channel = AD_Channel; sConf...[Details]
-
Pin Definition FSMC configuration steps 1. Enable the corresponding pin GPIO clock 2. Configure the GPIO pin mode 3. Enable the FSMC clock 4. FSMC initialization 5. Memory block enable Examp...[Details]
-
For complex calculations, the speed of the microcontroller is too slow. The best way is to manually calculate all the results in advance, store them in ROM in sequence, and then directly check the re...[Details]
-
Manually assemble the following program machine code and analyze the execution function of the program segment. CLR A MOV R2, A MOV R7, #4 LOOP: CLR C MOV A, R0 RLC...[Details]
-
Using AT89S51 microcontroller, modify the original one to turn the LED on for 4s and off for 2s. Thank you. Use a timer. (The program is written in the answer, omitted here - just a note) The origi...[Details]