2407 is used, and the main program is as follows:main(){disable();initial();pwm_initial();calu();enable();*EVAIMRA=*EVAIMRA | 0X0200; /*Enable timer 1 underflow interrupt*/*T1CON=*T1CON|0X0040; /*Turn...
I am a senior student who is about to graduate. I am preparing to develop a system with a single-chip microcomputer, which involves voice sampling and encoding. Lingyang 16-bit single-chip microcomput...
sbit upon=P1^6;//S1 sbit download=P1^7;//S3 sbit nAck=P3^6;//S2 sbit Setup=P3^7;//S4 The functional requirement of my project is to use the above four touch switches to realize a rotary encoder functi...
The following wiring diagram and ladder diagram are used for the Mitsubishi PLC model F1-20MR program. You can open it by entering this address in IE: http://bbs.21ic.com/upfiles/img/20074/20074191618...
For 80,000
ZTE
(000063.SZ) employees and more Chinese ICT (information and communication technology) industry practitioners, the news from across the ocean on the evening of April 16 kept t...[Details]
1. Test conditions Hardware: STM32L432KC Main frequency: 80MHz Compiler: IAR 8.20.1 Compiler options: High Speed no size constraints CRC generator polynomial: 0x782f 2. Test Method The softwar...[Details]
In the actual project development process, we often need to get the running time of a section of code. The usual method is to use an oscilloscope to measure it. This blog post will use SysTick to acc...[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]
ZTE was punished, and Hou Weigui, who had already retired, had to come out of retirement again and run around to mediate. Let's follow the embedded editor to learn about the relevant content.
...[Details]
Timing and protocol are two key points in digital system debugging, and they are also where logic analyzers can play their most valuable role. How can we use a logic analyzer to quickly complete wiri...[Details]
The application of millimeter wave technology in mobile communications also involves a series of technical problems, including the large propagation loss of millimeter waves and the susceptibility ...[Details]
The implementation of CAN driver under embedded operating system Android requires not only adding CAN driver device in Linux kernel, but also implementing the call of Android HAL layer. Taking S5...[Details]
In 2018, the National Development and Reform Commission issued a new photovoltaic subsidy policy. The benchmark on-grid electricity price was significantly reduced, the return on investment decreased,...[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]
Use the STM32 timer input capture module to control 3-way ultrasonic sensors. The ultrasonic sensor used this time is the common HC-SR04, which is often used in the obstacle avoidance system of smal...[Details]
As shown in the figure, the author soldered a STM32F207VET6 board using a TQFP (32-100PIN) 0.55MM to direct plug adapter board. The board leads out the SWD debug interface (only PA13 and PA14 are occ...[Details]
/* Unfortunately, it cannot generate a standard 38kHz frequency square wave, there is a little error*/ #include reg51.h #define uchar unsigned char #define uint unsigned int sbit Waveout=P1^0; //P...[Details]