I need help from a novice. The displayed time is 1/5 more than the set time. 12MHZ. In timer() 65536-50000 if(x==20){x=0;y++;} main{ } { if(y==20){ y=0;} f(y==0){ } //Display the traffic lightif(y==5)...
Embedded software learning routes and directions, see what you want to learn or what you like, because embedded knowledge is more extensive, you can choose a direction according to your expertise in t...
The routines of the GD32L23x firmware package do not completely match the GD32L23x-START board, and several places need to be modified to adapt.
1. The IO of LED1-4 needs to be modified. The left side...
[size=4]The comparison between GPRS and NB-IoT is more like the comparison between traditional networks and emerging networks. Let's focus on the advantages of GPRS and NB-IoT in the following points....
Using MSCOMM32.OCX, the serial port initialization and output are normal, but the value of the input buffer cannot be obtained. Why? The steps are as follows: 1) Use SUDT SerialNull software to virtua...
Entering the information age after the millennium, the huge demand for semiconductor chips has made China the world's largest semiconductor market. According to relevant data, the scale of my count...[Details]
On April 20, Alibaba Group announced that it would acquire
the
chip
company Zhongtian Microelectronics and invest in six
chip
companies. Yesterday, JD.com CEO Liu Qiangdong said in a...[Details]
Recently, the US embargo on ZTE has attracted much attention. Let's take a look at the relevant content with the automotive electronics editor. On April 16, local time, the U.S. Department of Co...[Details]
A few days ago, Hanergy Chairman Li held a grand launch of Hanwa new products, which once again attracted the attention of the mass media to the development of photovoltaics. The unique Hanergy has gr...[Details]
1. Introduction to MC68K CPU The MC683xx series of microcontrollers are composed of the famous MOTOROLA 32-bit microprocessors such as MC68K, 68020, 68040, and the compatible 68K, CPU32, CPU3...[Details]
As an important branch of the power electronics industry, the technological progress of photovoltaic inverters is highly dependent on the development of electronic components and control technology...[Details]
MSP430 MCU controls stepper motor with display program #include "msp430x22x4.h" #define uchar unsigned char #define uint unsigned int #define comm 0 #define dat 1 #define sclk_1 P4OUT|=0x01 //sc...[Details]
Multi-byte binary division The dividend is 3 bytes, in units 0x20, 0x21, and 0x22, 0x22.7 is the most significant bit and 0x20.0 is the least significant bit. The divisor is 2 bytes, in 0x30, 0x31. A...[Details]
EM78 series single chip microcomputer -- Design of D/A conversion program The output of PORT6 is connected to a D/A converter. Write a program to generate a saw wave. The D/A Convert in this example ...[Details]
Today, Qualcomm Technologies, Inc., a subsidiary of Qualcomm, announced at the 2018 Qualcomm China Technology and Cooperation Summit that it has signed memorandums of understanding (MoUs) with Leno...[Details]
The simplest way to decrypt a microcontroller is to erase the encryption lock bit in the microcontroller. Due to the unreasonable timing design of the erase operation of the AT89C series microcon...[Details]
Abstract: "Today, when we talk about mobile phones, we are referring to smart phones. In the future, when we talk about cars, we will actually be talking about Smart EVs. I think there will be chan...[Details]
1. Key points of timer/counter PWM design
According to the characteristics of PWM, the following points should be noted when using the ATmega128 timer/counter to design output PWM:
1. F...[Details]
Project Name: Method of auto-baudrate for ATmega8 Date: 2006-June-01 Author: Eighth Army System crystal: Internal 8M Hz by RC Compiler Reversion: IAR for AVR 412A Additional info...[Details]