-
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]
-
1. Purpose Since the number of times the STM32 FLASH can be erased and written is limited, in order to protect our FLASH and extend the use time of the MCU, we can debug on the SRAM. SRAM is a ...[Details]
-
Chip: STM32F107VCT6 Application Pin: THOUSANDS, RMII STM32CubeMX is very convenient to use ETH. The software comes with LWIP and configuration. This time, STM32F107VCT6+DP83848CVV is used. The MII a...[Details]
-
background After the hardware engineer completed the PCB and schematic design, the routine was modified according to the tutorial of Zhengdian Atom to verify the correctness of the hardware. STM32F...[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]
-
China Energy Storage Network News:
"As the world's first third-generation blockchain, Anda Chain, which has China's independent intellectual property rights, will be launched globally in the ...[Details]
-
sprintf is a function in the C language library that converts data types. There is a situation where In 51 MCU, define unsigned char temp; Then I want to use the serial port to print out temp in deci...[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]
-
Google may have foreseen the spread of artificial intelligence (
AI
) technology across apps, devices, and services, such as recognizing friends' faces in photos and giving smart speakers h...[Details]
-
Example analysis: (using DMA mode) mian function: extern __IO u16 ADC_ConvertedValue; //The voltage value converted by ADC is defined in the context of ADC1_Init() float ADC_ConvertedValueLocal; ...[Details]
-
6MHz crystal oscillator, using timer counter 1, using interrupt mode, through P1.0 to make a light emitting diode turn on for 100ms, turn off for 300ms, and repeat. Assembly programming is used to ac...[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]
-
;The hardware connection circuit of the 51 single-chip microcomputer is as follows: ;P1.3 and P1.4 are each connected to a button; ;P0.0 and P0.3 are each connected to a light-emitting diode; ;P2.0~P...[Details]
-
Take serial port interrupt as an example: like: void serial() interrupt 4 { } and void serial_uart() interrupt 4 { } The functions of both functions are to define the serial port interrupt function. ...[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]