-
1 Introduction Due to the special working environment of coal mine production, the production process is more dangerous and unsafe than the general industry. With the continuous increase in c...[Details]
-
Every era has anxiety that has nowhere to go. Let's follow the embedded editor to learn about the relevant content.
The anxiety of the post-Internet era is that if you don’t revolutionize ...[Details]
-
Household photovoltaic power stations mainly utilize idle resources on existing household buildings, such as roofs, wall facades, balconies, courtyards, etc., to install and use distributed photovo...[Details]
-
The pins of stm32 have two uses: GPIO (general purpose io) and AFIO (alternate function io) For some pins (depending on the chip), neither of these two uses exists. For example, in 64-pin products, O...[Details]
-
1. Function and purpose There are two pins BOOT0 and BOOT1 on each STM32 chip. The level status of these two pins when the chip is reset determines which area the program starts from after th...[Details]
-
I have encountered many problems when tinkering with LD driver recently. I will record them one by one below. Otherwise, who will remember who in five hundred years? 1. Configuration issues of multi-...[Details]
-
environment: Host: XP Development environment: MDK4.23 MCU:STM32F103CBT6 illustrate: Collect AD through pins PA1 and PA2. Collect AD 10 times for each channel. #include "ad_driver.h" //Global ...[Details]
-
#include reg52.h #define PORTLEN P0 sbit bit_select = P2^0; sbit seg_select = P2^1; unsigned char src = {0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f ,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71}; unsigne...[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]
-
Assume that the MCS-51 microcontroller uses a 12MHz crystal oscillator, and wants to use a timer to generate a pulse with a duty cycle of about 30% and a period of 60ms at port P1.0. ;==============...[Details]
-
The following comes from - "cortex-M3 Definitive Guide" Special function register group: Program Status Registers (PSRs or xPSRs) Interrupt mask register group (PRIMASK, FAULTMASK, and BASEPRI) ...[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]
-
Each I/O port of the AVR microcontroller corresponds to three registers: DDRx, PORTx and PINx, where DDRx is the data direction, i.e. input or output; PORTx is the state of the internal pull-up r...[Details]