-
Timer T0 is used to generate timing pulses. A positive pulse with a width of 2 machine cycles is generated every 2ms, and this timing sequence pulse signal is output by P1.0 (assuming the clock fr...[Details]
-
The emergence of single-chip microcomputer is a milestone in the history of computer technology development. It enables computers to enter the field of control from massive numerical calculations. ...[Details]
-
This is a small program I made myself. It uses the STC12C5160S2 microcontroller chip for control and implements the ADXL345 inclination sensor module to measure angles. The microcontroller source p...[Details]
-
Recently, I needed to use the flash library function when compiling STM8S003. It looked simple, but it took me more than a day to figure it out. Today I summarize the method as follows: 1. Modify stm...[Details]
-
In the process of learning stm32 library functions, I encountered a lot of assert_param statements. It was found that the function of assert_param is to determine whether the parameter passed to the ...[Details]
-
#include "IRRemote.h" void main(void) { //初始化 Initialize(); //Infinite loopwhile (1) { unsigned int transmit; //Initialize va...[Details]
-
Thought: FLASH is divided into three areas: Bootloader area: Verify the backup program. If the conditions are met, the backup program will replace the user program. Otherwise, the user program will b...[Details]
-
When learning dynamic display, I found a problem. The numbers were displayed normally, but some places on several numbers that should not be lit were slightly lit, resulting in unclear digital displa...[Details]
-
Smart car motor closed-loop control algorithm
Regarding the motor closed-loop control algorithm for smart cars, the reason why I did not write "Smart Car Motor PID" in the title is that
The "closed...[Details]
-
Configure I/O ports, configure mode, enable GPIO and clock Write: Check if SDA is idle. Checks whether the event was successful. Send a start signal according to the protocol Checks whether the eve...[Details]
-
In various industries in the process of industrial production and scientific and technological research, various data are often collected. The commonly used collection method is to install data acqui...[Details]
-
With the popularization of image processing technology, its application scope is getting wider and wider. In the fields of medicine, military, public security, etc., especially in recent years, it ...[Details]
-
#include "ioCC2530.h" //reference CC2530 header file
/**************************************************************
Function name: delay
Function: Software d...[Details]
-
BKP is the abbreviation of "BACKUP". The stm32f103RCTE is equipped with 10 16-bit BKP registers. When the main power is cut off or the system generates a reset time, the BKP register can still maintai...[Details]
-
introduction
At present, my country's power industry is developing rapidly, but the situation of insufficient power supply and low power efficiency is still serious and will continue to exist for a...[Details]