Use P2 port as the read and write data port, P3.0--P3.2 connect RS, RW, E. Do not use busy check, but use delay long enough to satisfy the writing instruction and data. #i nclude#i nclude "intrins.h" ...
Dear brothers and sisters, I don't know how to use many instructions. I have a PLC on hand and need to program it. The control method is that the four points of COM1 are common, and the eight points o...
[p=24, 2, left][color=rgb(62, 62, 62)][font=Tahoma, Arial, sans-serif]First, we need to select the MOSFET. There are two major types of MOSFET: N-channel and P-channel. In power systems, MOSFETs can b...
I use WinCE system, and the network chip is DM9000. Since DM9000 does not have a MAC address, I write mac in the registry, but this causes the mac address of each board to be the same. Is there any go...
Does anyone have the mock test paper for July 16? I was busy that day and didn't download it. If anyone has downloaded it, could you please share a copy with me? I'd be very grateful. You can send it ...
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]
Using Systick timer to achieve delay 1. SysTick timer characteristics The SysTick timer is a 24-bit down counter, that is, when vlue is decremented to 0, an interrupt is triggered and the load va...[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]
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]
Autonomous driving
and
5G
are the two hot topics that global companies and media are paying the most attention to, and the combination of the two is the focus of everyone's attention....[Details]
As cryptocurrency continues to gain popularity, a technology hidden behind it has attracted more attention from the world, that is the now hotly debated
blockchain
. Let's follow the embedd...[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 TechRadar, given rumors that
Google
is developing a Pixel Watch
,
the
recently renamed Wear OS
smartwatch
operating system may soon be able to show its full cap...[Details]
Mobile communication resale business means that enterprises can contract part of the communication network usage rights from basic telecommunications operators, repackage them into their own brands...[Details]
If you do not use an external crystal on the STM32, the connection method of OSC_IN and OSC_OUT If you use the internal RC oscillator instead of an external crystal, please follow the following metho...[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]
In the 80C51 single-chip microcomputer, the clock frequency is known to be 6MHz. Please program P1.0 and P1.1 to output square waves with periods of 2s and 0.5s respectively. Please give the answer a...[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]
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]
The clock frequency of the 80C51 microcontroller is 12MHz, and the timer T1 and P1.0 are used to output rectangular pulses. The waveform only shows two segments: one segment is 100us and the other se...[Details]