-
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]
-
introduction STM32 has many registers, which are difficult to remember, so the official packaged two sets of library functions. One is the standard library, but the official has not updated it on F7,...[Details]
-
In most countries, the military is a fairly large group, and the health of soldiers is particularly important to the combat effectiveness of the army. The US Department of Defense's Advanced Resear...[Details]
-
STM32 has two watchdogs: independent watchdog and window watchdog. This article mainly introduces the use of independent watchdog. Independent watchdog (IDWG): driven by an independent 40KHZ low-sp...[Details]
-
When STM32 uses JTMS (PA13) and JTCK (PA14) as normal I/O ports, add the following code before initialization (the order cannot be reversed): RCC_APB2PeriphClockCmd(RCC_APB2Periph_AFIO, ENABLE); G...[Details]
-
STM32 ADC multi-channel conversion Description: Use ADC to continuously collect 11 analog signals and transfer them to memory through DMA. ADC is configured to scan and continuously convert mode,...[Details]
-
unsigned char num,i,j; unsigned char passwordtemp ; //Maximum input is 16 unsigned char inputtimes; //Number of incorrect password inputs unsigned char passwordlength...[Details]
-
Getting to the bottom of blockchain
Since last year, blockchain has become the hottest word in both the financial and non-financial circles. Some people use it as a gimmick to engage in va...[Details]
-
MCU Programming: Find the average value of 8 unsigned numbers. There are 8 unsigned numbers stored in 8 units of the internal RAM starting at 20H. It is required to save their average value in R2. ;-...[Details]
-
Design a program for the 51 single-chip microcomputer. It is known that the crystal oscillator frequency of the 89C51 single-chip microcomputer is 12MHz, and it is required to use T1 timing to output...[Details]
-
Please help me analyze the clock cycles occupied by the following delay program. Seek to explain: DELAY: MOV R6, #13 DELAY1: MOV R5, #250 DELAY2: NOP DJNZ R5, DELAY2 DJNZ R6, DEL...[Details]
-
In the 51 single-chip microcomputer's on-chip data memory units 20H and 21H, the data 9 and 2 are stored respectively. Write a program to calculate the difference and product between the two. The d...[Details]
-
A group of young people who looked like they were in their twenties or thirties were squatting on the edge of the factory flower bed. Some were looking at their phones helplessly, while others were...[Details]
-
#include #include // Alphanumeric LCD Module functions #asm .equ __lcd_port=0x18 ;PORTB #endasm #include int shi,ge,qian,bai,m; int adc_v; // Timer 0 output compare interrupt service routin...[Details]
-
International Solar Photovoltaic Network News: On November 21, Australia's SMA Solar Technology Co., Ltd. signed a contract with the local government to provide photovoltaic inverters with an insta...[Details]