[i=s]This post was last edited by 5525 on 2016-6-9 07:35[/i] [size=4]It is said to be original, but it is what everyone knows. I have sorted it out and added some of my own understanding. [/size] [siz...
Sequence control + delay. I am a beginner and don't understand it at all. Thank you! Start - detect S1 signal - output Q1 - detect S2 signal - delay 0.1S and output Q2. The circuit board is as shown. ...
Why does the first LED not light up after key1 is pressed? The key1 is connected to port p3.4#include
sbit d1=P1^0; sbit key1=P3^4; void main() {P3=0xff; while(1); { if(key1==0) d1=0; else d1=1; } }...
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]
1. Function prototype In the function library officially provided by STM32, you can find functions like HAL_Delay(). This function uses a timer to achieve a more accurate time delay and provides it...[Details]
China Energy Storage Network:
Blockchain + finance, blockchain + environmental protection, blockchain + insurance, even a roadside fried chicken shop is using the banner of blockchain + fried...[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]
With the development of the automobile industry, more and more automotive electronic components are being used in modern cars, providing better safety, comfort and economy for cars. In the past, cars...[Details]
The day before yesterday, another mainland technology company submitted a prospectus to the Hong Kong Stock Exchange. The company is called "Jia Nan Creative (hereinafter referred to as 'Jia Nan')"...[Details]
Household photovoltaic power stations mainly utilize idle resources on existing household buildings, such as roofs, wall facades, balconies, courtyards, etc., to install and use distributed photovo...[Details]
Photovoltaic inverters are the core equipment of photovoltaic systems. Their main function is to convert the direct current generated by photovoltaic modules into alternating current that meets the...[Details]
The pins of stm32 have two uses: GPIO (general purpose io) and AFIO (alternate function io) For some pins (depending on the chip), neither of these two uses exists. For example, in 64-pin products, O...[Details]
I have encountered many problems when tinkering with LD driver recently. I will record them one by one below. Otherwise, who will remember who in five hundred years? 1. Configuration issues of multi-...[Details]
Internal channels of ADC: In addition to using external channels to collect external analog voltage signals, the ADC of STM32 also has two internal channels 16 and 17. Channel 16 is connected to ...[Details]
1) ADC multi-channel acquisition: (Multi-channel acquisition must use scanning mode. In scanning mode, the channels of the rule group share a register, so DMA transmission must be used; to prevent da...[Details]
DMA: 1. When using DAC, when the converted analog signal is output through the IO port, why is the IO port also configured to input mode? PS: The stm32 manual defines that PA4 and PA5 are connected...[Details]
One addend is in the on-chip RAM 40H, 41H, 42H units, the other addend is in the on-chip RAM 43H, 44H, 45H, and the sum is stored in the 50H, 51H, 52H units, with the carry bit stored in 00H. Please ...[Details]
Assume that the MCS-51 microcontroller uses a 12MHz crystal oscillator, and wants to use a timer to generate a pulse with a duty cycle of about 30% and a period of 60ms at port P1.0. ;==============...[Details]