-
1. Interrupt configuration Take external interrupt 0 and pin PA0 as an example to configure void SYS_EXTI0Init(void) { GPIO_InitTypeDef GPIO_InitStructure; EXTI_InitTypeDef EXTI_I...[Details]
-
1. Download A few days ago I redid the changes I made on Linux 4.9 on Linux-4.10.17 and fixed some issues. Here is the download method: git clone https://github.com/pengdonglin137/linux-4.10.17.git...[Details]
-
System functions Use STM8's I2C to communicate with PCF8574, and use LED to make simple instructions! (PCF8574 is an I2C and parallel port conversion chip) hardware design This design uses the ...[Details]
-
1. GPIO Introduction GPIO (general purpose input output): general purpose input and output. GPIO is the pin of the chip, which is a special pin that can be operated through code to control the high a...[Details]
-
.H file preprocessing typedef unsigned char INT8U; //0~255 typedef signed char INT8S; //-128~127 typedef unsigned int INT16U; //0~65535 typedef signed int INT16S; //-32768~32767 typedef unsigned lo...[Details]
-
0 Introduction
The BGTV4152 all-solid-state TV transmitter is a new type of transmitter produced by Beijing Broadcasting Technology Co., Ltd. In 2007, Shanxi Radio and Television Wireless Management...[Details]
-
Code: /* C language example 19 Question: If a number is exactly equal to the sum of its factors, the number is called a "perfect number". For example, 6=1+2+3. Program to find all perfect numbers w...[Details]
-
In order to reduce power consumption and reduce costs, based on the characteristics of ARM chips' good support for C language, after deeply analyzing the MP3 decoding algorithm and analyzing the...[Details]
-
//===================================================================== //TITLE: // Flexibly use the WEAK keyword in ARM assembly // AUTHOR: // norains //DATE: // Tuesday 20-October-2010 //Environmen...[Details]
-
In the current embedded LINUX system development process, all engineers are tired of using two different debugging modes to debug the system kernel and application respectively. First, a JTAG debuggi...[Details]
-
In the last section, we learned about the data types supported by the KEIL C51 compiler. How are these data types used in the definition of constants and variables? Is there anything to pay attention...[Details]
-
When engineers write microcontroller programs, they usually use assembly language or high-level language (C or C++). These program codes are called original codes. After the program is written, it is...[Details]
-
一个按键正转,另一个按键反转.模拟输出编码信号.正转1110 00 10 反转11 01 00 01 //1H=GP2 2H=GP1 3H=GP0 4H=GP4 KEY=GP3 #include pic.h __CONFIG(0xFEA); #define uchar unsigned char #define CW_A GP4 // #define CW_B GP5 // #...[Details]
-
Contents of LCD1602.c file (this is a complete 1602 LCD screen driver file with protues simulation file using 51 single-chip microcomputer): Complete program source code and simulation file download:...[Details]
-
introduction
MP3 players have developed rapidly in recent years, and a large number of products have been launched. Tourism, an emerging industry, has been booming in recent years. Compared with ma...[Details]