#include
#include
#define uchar unsigned char #define uint unsigned int #define fosc 120000 #define bps 9600 /*LED_Buffer[16] is used to store the data sent by the serial port, com_dat is used to reco...
I would like to ask the experts , I am new to AVR microcontrollers , and now I want to measure the voltage and pulse width of a signal , but the pulse width of the signal is only 3us. I don't know whi...
[color=#3e3e3e]The power transformer is one of the most common and important electronic components, but there are few introductions to the series and parallel use of power transformers in electronic p...
[font=黑体][size=4]:) The following are some materials recommended by ST. Interested netizens are welcome to download them. [/size][/font][align=left][color=#000][font=黑体][size=4](1) [url=http://www.stm...
Can someone help me? My KEIL C has the following error: *** FATAL ERROR L250: CODE SIZE LIMIT IN RESTRICTED VERSION EXCEEDED MODULE: C:\KEIL\C51\LIB\C51S.LIB (-----) LIMIT: 0800H BYTES It seems there ...
I have read some information, but I am still not very clear about when and how to use the PXSEL register function selection register. Could you please explain it to me?...
On April 17, the U.S. Department of Commerce suddenly announced that it would completely ban U.S. companies from
selling parts, goods, software and technology
to
ZTE
within 7 years. This als...[Details]
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]
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]
1. About FPU transplantation As long as the chip has FPU function, the use of FPU is generally enabled by default. You can also select it in the Options tab; 2. About the transplantation of DSP li...[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]
Recently, the "Smart Photovoltaic Industry Development Action Plan (2018-2020)" jointly issued by six departments has put this concept on the forefront. Photovoltaic smart solutions will become the ne...[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]
I believe that many netizens who have watched "Interstellar" will remember this classic line, "Do not go gentle into this good night, nor let passion be drowned by the gloom of twilight". Different...[Details]
What are your expectations and ideas
for
the future of
Xiaomi Mi Band
?
Xiaomi Mi Band’s
official Weibo shared many netizens’ thoughts on
the future direction and functions
of Xiao...[Details]
The frequency calculation formula of the PWM wave generated by the output comparison mode of the timer is: 72M/((2*(arr+1))*(psc+1) ) For example, if you set: PWM_Init(1000-1,72-1); (PWM_Init(arr,psc...[Details]
In the packaging process of a production line, every time the conveyor belt of the production line delivers a product to the packaging machine, the "SP" terminal outputs a pulse to the T1 terminal of...[Details]
Recently, the National Development and Reform Commission announced that all foreign equity restrictions in the automobile industry will be lifted in the next five years. At the same time, as subsid...[Details]
The isp made a brief summary. Through online programming (the chip is programmed by continuously resetting the chip while the high voltage is converted), the MCU's flash, eeprom, fuse bits, encryptio...[Details]