Why can this code only make the light turn on, but not blink? . . . Please help me, #include
#define uint unsigned int #define uchar unsigned char sbit d1=P1^0; uchar num; void main() { d1=1; TMOD=0x0...
I was lucky enough to win a USB flash drive in the event [[color=#0080][font=微软雅黑]Tektronix MDO Oscilloscope Promotion EDM[/font][/color]], which is the first time I have ever won a prize:pleased:. I ...
We have a chip that has worked fine for several years. Later, the manufacturer stopped supplying it, so we asked someone to get it. When we got it back, we found that it didn't work (we suspected that...
In the afternoon, I was debugging the enet_io project discussed by the heroes above. I had no tools to convert web pages and image files to code, so I wrote one myself. It was developed with .NET 2.0,...
I need a circuit now. The input signal is the capacitor charging signal, and the output is the ramp signal of the same time. As shown in the figure, the input signal is the red one, and after passing ...
In the past few days, the news that ZTE was "banned" by the US Department of Commerce has triggered widespread reflection and concern in various domestic industries about the lack of independent co...[Details]
1. Principle 1. Infrared emission protocol The infrared transmission protocol has been written in the previous article , so I will not repeat it here. 2. Timer counting and input capture A timer...[Details]
In the actual project development process, it is common to encounter modifications to the hardware circuit, and then the modified part requires the modification of the driver. Thinking about the comi...[Details]
The day before yesterday, I learned about STM's Systick and found it quite useful for precise timing. When I used CVAVR before, I found that the delay.h in it was very useful. So, I used STM32's...[Details]
Recently, the " ZTE
incident"
caused by the Sino-US trade war
has caused heated discussions in the electronics industry. It not only reflects that Chinese companies are lagging behind in the...[Details]
The trade war between China and the United States has become the focus. The United States has begun to play the ban card against Chinese technology companies. The ZTE incident shows that if the ban...[Details]
In Windows environment, the source code is encoded in UTF-8. If the source file created by STM32CubeMX contains Chinese comments, then using STM32CubeMX to regenerate the source code will cause the C...[Details]
Development Background: 1. Main chip - STM32F207VCT6; 2. TCP/IP protocol stack - LWIP, transplanted based on ST routines; 3. Operating system - none (bare metal); Anomalies: 1. Power on the device wi...[Details]
I used STM32CubeMX V4.22.1 to generate a project including EHT and Lwip. The debugging has been abnormal. After careful inspection, the following problems were found: 1. The hardware uses LAN8720A, b...[Details]
1. Initial understanding of FSMC: FSMC consists of 4 modules: (1) AHB interface (including FSMC configuration register) (2) NOR flash memory and PSRAM controller (when driving LCD, LCD is like a PSRA...[Details]
On the eve of Qingming Festival, the trade friction between China and the United States is on the rise. Let's follow the automotive electronics editor to learn more about the relevant content. Ba...[Details]
On April 16, the U.S. Department of Commerce announced that it would ban U.S. companies from selling parts, goods, software, and technology to
ZTE
for seven years, until March 13, 2025.
Th...[Details]
The parking assistance system is an important application of the active anti-collision system of automobiles in low-speed and complex urban environments, and is also a specific embodiment of the inte...[Details]
With the implementation of the first version of the NR sub-6GHz draft of 3GPP in December 2017, and the subsequent Phase 2 drafts, semiconductor manufacturers and terminal manufacturers began to ...[Details]
STM32 uses FSMC to read and write CPLD programs. CPLD is hung on the address line and data line of STM32. CPLD is regarded as an off-chip RAM for reading and writing. On the board I made, CPLD is hun...[Details]