-
1. Development Environment 1. Applicable chips: All STM32F4 chips 2. Firmware library: STM32F4xx_DSP_StdPeriph_Lib_V1.8.0 3,IDE:MDK517 2. Driver source code Delay.h File /**...[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]
-
When designing a product, if the application environment's requirements for power isolation are not considered, the product will be unstable due to improper design, and even high voltage may damage t...[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]
-
This small program is still the use of timer, which is relatively simple. The specific parts are noted in the comments, please refer to the comments. /*********************************************...[Details]
-
12864 LCD parallel port driver is more commonly used, but considering that sometimes the IO port of the microcontroller or MCU is limited, the serial driver method can be used. The following is ...[Details]
-
Note: This STM32 microcontroller is the STM32F103 series. The ADC of Stm32 has DMA function. This is beyond doubt and is what we use most! However, if we want to sample a signal (such as a pulse sign...[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]
-
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]
-
The circuit shown in the figure requires that the light is off when the machine is turned on. Press the button once, and the light D1 will turn on and automatically turn off after a delay of 10 secon...[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]
-
Caijing reporter exclusively learned that
Huawei
will merge and reorganize a number of departments in the near future. Some cloud-related business lines will be incorporated into the Cloud ...[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]
-
#include #include "DS1302.h" #include void ds1302_init(void) { PORTX=0x00; DDRX=0x07; } void write_ds1302_byte(unsigned char dat) { unsigned char i; for(i=0;i 8;i++) { ...[Details]
-
For the STC89 series microcontrollers in PQFP-44 and PLCC-44 packages, 4 I/O ports P4 are added. The address of P4 port in the special function register is E8H, which can be bit addressed. User...[Details]