I saw a post about the time-sharing idea of MCU but I don't quite understand it. For example, in the main function, the scanning program, xianshi represents the digital tube, and wei represents the ke...
I never thought about winning the grand prize, I just insisted on participating in this event. When I saw the lottery post, I found that many netizens had already run ahead. I didn’t think about winni...
I set Vertical Scrollbar to TRUE in the properties of the Dialog. The Vertical Scrollbar can be drawn on the phone, but it doesn't work. Why? I create the Dialog through DialogBox....
I use software to generate SPWM wave on MSP430 development board, and then add a filter circuit to generate a sine wave with a period of 1s. However, after adding hardware, no sine wave can be generat...
The most significant event in the technology circle during this period is undoubtedly the news that ZTE was banned by the United States. Once the news came out, it shocked the entire Chinese techno...[Details]
Dong Yang, executive vice president of the China Association of Automobile Manufacturers, said on the 26th that according to the authorization of the Ministry of Industry and Information Technology...[Details]
1. The first project We are going to create the first project, which is mainly for project analysis, so that we can understand how CubeMX works and how to trace the code logic. Okay, no more nonsense...[Details]
Serial Port: 一. USART_ITConfig(USART1, USART_IT_TXE, ENABLE): As long as the transmit register is empty, there will always be an interrupt. Therefore, if you are not sending data, turn off the tran...[Details]
In most countries, the military is a fairly large group, and the health of soldiers is particularly important to the combat effectiveness of the army. The US Department of Defense's Advanced Resear...[Details]
When Amazon quietly launched a product called Elastic Computing Cloud 12 years ago, the Internet industry in China, across the ocean, also ushered in an unprecedented development opportunity. Let's...[Details]
//Observe the difference between feeding the dog and not feeding the dog, and use the LED indicator of the PB port for status indication. //Switch the LED indicator enable switch of the PB po...[Details]
At this exhibition, Microsoft brought its flagship intelligent voice products - XiaoIce and Xiaona. In addition, the voice will be equipped with an intelligent face recognition system. Let's see ho...[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]
MCU Programming: Find the average value of 8 unsigned numbers. There are 8 unsigned numbers stored in 8 units of the internal RAM starting at 20H. It is required to save their average value in R2. ;-...[Details]
The circuit shown in the figure requires that the light is off when the machine is turned on. Press the button once, and the light D1 will turn on and automatically turn off after a delay of 10 secon...[Details]
Design a second and minute pulse generator for a single-chip microcomputer using the interrupt method. Assume that P1.0 generates a positive pulse of one machine cycle per second, and P1.1 generates ...[Details]