-
Hardware platform: stm32F407Zet6 Software platform: stm32cubeMX 4.7+MDK5.14 Circuit connection: PE8-LED0, PE9-LED1, PE10-LED2, PE11-LED3 Step 1: Create a project using stm32cubeMX 1. Start the soft...[Details]
-
I have always wanted to write some posts and blogs, but I just couldn't bear to do it as I just graduated. After some preparation, I decided to write down some of the things I learned in the past few...[Details]
-
Time flies. Since the beginning of 2018, news related to home appliance companies have repeatedly made headlines, and competition in the home appliance market continues to intensify. In order to be...[Details]
-
Artificial Intelligence (AI) is undoubtedly the hottest topic in the technology industry in the past one or two years. In addition to the huge investments made by technology giants, financial and o...[Details]
-
As the brain of a mobile phone, the mobile phone processing chip is of great importance. Xiaomi, which started out as the MIUI company, has long been keenly aware of the gap between China and devel...[Details]
-
With the large-scale development of the domestic household photovoltaic market and the improvement of component and inverter technology, the system cost has dropped significantly in the past year. The...[Details]
-
Introduction: As a power electronic device, the photovoltaic inverter mainly converts the direct current generated by the photovoltaic module into alternating current. Because there are thousands o...[Details]
-
Summary of STM32 peripheral DMA usage: 1. Select DAM mode according to your needs: (1) Circular mode—DMA_Mode = DMA_Mode_Circular (2) Normal mode—DMA_Mode = DMA_Mode_Normal 2. For Chanel3 of DMA1, t...[Details]
-
Program ideas and defects reference: 51 single chip microcomputer (AT89C52) matrix keyboard detection program #include iom16v.h typedef unsigned char uchar; typedef unsigned int uint; #define ...[Details]
-
The single-chip microcomputer running light program requires all 32 serial ports to be used, and each serial port has eight LEDs. Question supplement: The 8051 single-chip microcomputer is used, an...[Details]
-
A simple experimental programming question for the microcontroller: write a 3-byte binary addition subroutine. The program entry is: addend 1: 22H, 21H, 20H three bytes, 22H is the highest bit; adden...[Details]
-
/************************************************************************************* * main.c: the main file * NXP -- LPC1768 * * * Author : light ...[Details]
-
1. Pin: 0 in 1 out Set Status Output status IO register setting DDR×A certain bit is set to 1, and the corresponding bit IO is set to output; PORT×A certain position is 1/0, and t...[Details]
-
#include "myuart.h" #include "avr/io.h" #include #define UDRE 5 #define RXEN 4 #define TXEN 3 #define UCSZ0 1 #define RXC 7 #define RXCIE 7 ISR(USART0_RX_vect)//接收中断 { unsigned char...[Details]
-
#include #include #define RXB8 1 #define TXB8 0 #define UPE #define OVR 3 #define FE 4 #define UDRE 5 #define RXC 7 #define FRAMING_ERROR (1 FE) #define PARITY_ERROR (1 UPE) #define DATA_OVERRUN ...[Details]