-
1. Problem When developing STM32 with IAR, I found that I could not print floating point numbers by redirecting printf to the serial port. The code is as follows: The output is as follows: It can...[Details]
-
Hardware platform: stm32F407Zet6 Software platform: stm32cubeMX 4.7+MDK5.14 Circuit connection: PE8-LED0, PE9-LED1, PE10-LED2, PE11-LED3 Step 1: Create a project using stm32cubeMX 1. Start the soft...[Details]
-
Overview
Lightning is a strong discharge phenomenon that occurs between thunderstorm clouds and between thunderstorm clouds and the earth due to severe convective weather. Lightning is gen...[Details]
-
What is SYSTICK: This is a 24-bit system tick timer, SysTick, with automatic reload and overflow interrupt functions. All microcontrollers based on the Cortex_M3 processor can obtain a certain time ...[Details]
-
This paper combines embedded control technology with network control technology to realize the design of temperature control system based on single chip microcomputer through Internet control. Th...[Details]
-
Independent watchdog (IWDG) and low power mode are often used in STM32 development. The watchdog is to detect and solve faults caused by software errors, and the low power mode is to enter sleep mode...[Details]
-
Introduction: As a power electronic device, the photovoltaic inverter mainly converts the direct current generated by the photovoltaic module into alternating current. Because there are thousands o...[Details]
-
This program sets the LED running light and the 0-16 numbers of the 0th position of the digital tube to light up in a cycle. The digital tube program cannot be put into the main function, because the...[Details]
-
Program ideas and defects reference: 51 single chip microcomputer (AT89C52) matrix keyboard detection program #include iom16v.h typedef unsigned char uchar; typedef unsigned int uint; #define ...[Details]
-
The single-chip microcomputer running light program requires all 32 serial ports to be used, and each serial port has eight LEDs. Question supplement: The 8051 single-chip microcomputer is used, an...[Details]
-
A simple experimental programming question for the microcontroller: write a 3-byte binary addition subroutine. The program entry is: addend 1: 22H, 21H, 20H three bytes, 22H is the highest bit; adden...[Details]
-
Please help me analyze the clock cycles occupied by the following delay program. Seek to explain: DELAY: MOV R6, #13 DELAY1: MOV R5, #250 DELAY2: NOP DJNZ R5, DELAY2 DJNZ R6, DEL...[Details]
-
1. Pin: 0 in 1 out Set Status Output status IO register setting DDR×A certain bit is set to 1, and the corresponding bit IO is set to output; PORT×A certain position is 1/0, and t...[Details]
-
Take serial port interrupt as an example: like: void serial() interrupt 4 { } and void serial_uart() interrupt 4 { } The functions of both functions are to define the serial port interrupt function. ...[Details]
-
After three years of continuous decline in its mobile phone business, ZTE has finally revealed its true feelings to the outside world: the Chinese market is its weak point, and it is planning to f...[Details]