-
I used the bit definition in my 51 program: bit flag. After defining it this way, I ran the program and downloaded it to the circuit board. I found that the flag was not the value I set, which led to...[Details]
-
The Vatican Secret Archives is one of the world's greatest historical collections, but many of its documents have never been transcribed. Recently, a project called Codice Ratio used a
combination...[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]
-
The clock system of STM32 can be directly summarized in a diagram (from the STM32F10X reference manual). The following is an analysis of this diagram 1. STM32 input clock source 1.1 Function of cl...[Details]
-
Summary of STM32 peripheral DMA usage: 1. Select DAM mode according to your needs: (1) Circular mode—DMA_Mode = DMA_Mode_Circular (2) Normal mode—DMA_Mode = DMA_Mode_Normal 2. For Chanel3 of DMA1, t...[Details]
-
Interrupts and timers implement a 24-hour clock. The program is as follows: #include reg52.h #define PORTLEN P0 sbit bit_select = P2^0; sbit seg_select = P2^1; unsigned char src = {0x3f,0x06,0...[Details]
-
/*---------------------------------------------------------------------- TMOD (89H) T1 T0 GATE C/T` M1 M0 GATE C/T` M1 M0 -----------------------...[Details]
-
/************************************************************************************* * main.c: the main file * NXP -- LPC1768 * * * Author : light ...[Details]
-
About a dozen years ago,
AMD
was also a rival to Intel. It can be said that the two microprocessor manufacturers have been in love and hate for many years, which is completely a commercial ...[Details]
-
Today, the country attaches great importance to the Internet of Things, and the Internet of Everything has become the vision of all people in related industries. However, at the same time, masterin...[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]
-
#include "MSP430x44x.h" void init_UART(void); void uart_start(void); void uart_send(void); void uart_receive(void); unsigned char RXDATA_BUF ,TXDATA_BUF ={0xbd,0x77,0x3d,0xc5,0xc6,0xf5,0x68,0x0d...[Details]
-
As one of the four major Chinese cool alliances, ZTE Mobile undoubtedly has a relatively deep foundation. However, this mobile phone brand has gradually declined in recent years. Now it is hoping t...[Details]
-
On May 7, 2013, Jia Yueting, wearing a black T-shirt, announced the official launch of
LeTV
TV Super TV, which set the entire color TV industry on fire and forced traditional manufacturers ...[Details]
-
On June 25 this year, in Guangzhou, at an energy forum held by British oil giant BP Group, Zhao Daiqing, a researcher at the Guangzhou Institute of Energy Conservation of the Chinese Academy of Sci...[Details]