-
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]
-
LAN8720 configuration: IP: 192.168.192.30 Gateway: 192.168.192.1 A high frequency of ARP packets is detected The content of the packet asks for the mac address of 192.168.192.1, and asks the resp...[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]
-
On May 16, in response to
the public opinion storm caused by
Lenovo's
"
5G
voting" incident,
Lenovo
Holdings Chairman and
Lenovo
Group Founder Liu Chuanzhi, Lenovo Gr...[Details]
-
According to the description provided in the official manual of ST, it is not difficult to see that the ADC analog watchdog is actually that the user can set an upper and lower limit of the AD value...[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]
-
The independent watchdog of STM32 is driven by a dedicated internal 40Khz low-speed clock, that is, it is still effective even if the main clock fails. Here we need to note that the clock of the inde...[Details]
-
Proteus simulation circuit diagram C language program #include absacc.h #include reg52.h #define DA0832 XBYTE #define uchar unsigned char #define uint unsigned int ...[Details]
-
1. A/D (Analog-to-Digital) and D/A (Digital-to-Analog) Conversion 1. Pin AOUT: Analog output Vref: reference voltage AGND: Analog ground EXT: Ground OSC: Floating SCL,SDA:IIC AIN0, AIN1, AIN2: anal...[Details]
-
Use common anode digital tube and independent keyboard to connect P1 and P2 ports of single chip to realize answering machine The procedure is as follows: #include reg52.h void delay(unsigned char n)...[Details]
-
Assume that both the augend NA and the addend NB are three-byte compressed BCD codes, which are stored in the internal RAM units 20H~22H and 30H~32H, respectively, with the low digit first and the hi...[Details]
-
In one of my products, there are two chips, AVR and PIC, at the same time. When AVR drives the relay, then drives the contactor. PIC is used for display. I found that PIC actually has a little interf...[Details]
-
1. Analysis of the main causes of AVR damage: The AVR circuit consists of three parts: the rectifier main circuit, the voltage detection circuit, and the comparison control circuit. Excluding the...[Details]
-
Mobile phone battery charger program made by STC12C2052AD microcontroller #include stc12c2052ad.h #include intrins.h #define uchar unsigned char #define uint unsigned int sbit REF =P1^0; sbi...[Details]
-
Homemade LED Electronics Clocks can be seen in many electronic newspapers and magazines, but most of them need to reset the time and other parameters after power failure, which brings a lot of inco...[Details]