In recent years, as energy consumption and environmental protection issues have attracted people's attention, my country's solar photovoltaic power generation industry has shown a rapid development...[Details]
1. Purpose In actual product release, if the program stored in the MCU Flash is not protected, some illegal companies may read the program in the Flash through an emulator (J-Link, ST-Link, e...[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]
Artificial intelligence
There is no inherent bias in AI. It does not "think" something is true or false for reasons that cannot be explained by logic. Unfortunately, human bias exists in mach...[Details]
Nowadays, everyone is saying that "technology is people-oriented". The essence of the development of technology is to serve the improvement of the quality of life of human beings. Automated driving...[Details]
Autonomous driving
and
5G
are the two hot topics that global companies and media are paying the most attention to, and the combination of the two is the focus of everyone's attention....[Details]
As photovoltaic power stations come into people's view, people are paying more and more attention to them. Recently, some netizens asked me how to match the inverter and components of photovoltaic ...[Details]
At the beginning, I used the stdlib library. Recently, I found that the cube library is more and more widely used, so I started to use the cube library to complete the ADC multi-channel acquisition e...[Details]
The clock system of STM32 can be directly summarized in a diagram (from the STM32F10X reference manual). The following is an analysis of this diagram 1. STM32 input clock source 1.1 Function of cl...[Details]
/*----------------------------------------------- Name: IIC protocol PCF8591 AD/DA conversion Content: Use DA input, digital tube display output digital quantity, LED display analog voltage size ...[Details]
In the 80C51 single-chip microcomputer, the clock frequency is known to be 6MHz. Please program P1.0 and P1.1 to output square waves with periods of 2s and 0.5s respectively. Please give the answer a...[Details]
#include avr/io.h void Delay(unsigned int T) { unsigned int i,j; for (i=0;i T;i++) for (j=0;j 100;j++) asmvolatile ("nop"); //Assembly instruction, let the microcontroller run empty instruction...[Details]
//Note: The GCC-AVR version used in this article is WinAVR20100110 Interrupts are not part of the C language, and the implementation of interrupts is implemented by the compiler. Therefore, the writ...[Details]