-
Using Systick timer to achieve delay 1. SysTick timer characteristics The SysTick timer is a 24-bit down counter, that is, when vlue is decremented to 0, an interrupt is triggered and the load va...[Details]
-
introduction STM32 has many registers, which are difficult to remember, so the official packaged two sets of library functions. One is the standard library, but the official has not updated it on F7,...[Details]
-
ADC Introduction: ADC (Analog-to-Digital Converter). That is, converting analog signals into digital signals for processing. When storing or transmitting, analog-to-digital converters are almost ...[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]
-
If you do not use an external crystal on the STM32, the connection method of OSC_IN and OSC_OUT If you use the internal RC oscillator instead of an external crystal, please follow the following metho...[Details]
-
STM32 ADC multi-channel conversion Description: Use ADC to continuously collect 11 analog signals and transfer them to memory through DMA. ADC is configured to scan and continuously convert mode,...[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]
-
Getting to the bottom of blockchain
Since last year, blockchain has become the hottest word in both the financial and non-financial circles. Some people use it as a gimmick to engage in va...[Details]
-
A group of young people who looked like they were in their twenties or thirties were squatting on the edge of the factory flower bed. Some were looking at their phones helplessly, while others were...[Details]
-
The chip is EM78P153 ; P64, P65 are connected to the crystal oscillator, the oscillation mode is 4MHz crystal oscillator ; the watchdog is off, the instruction cycle is 2 CLOCK, and P63 is the rese...[Details]
-
在一个沒有規则性的内容转换中,查表程序是相当有用的,用户可以使用查表程序很快速的得到相关内容的转换。 例:设计一个程序,將如下图所示中的PORT5读到的一个数值,将输入内容做转换,然后输出到PORT6的7段显示器上。 上图中开关关闭,I/O引脚可以得到一个低电位,若是开关开启则I/O引脚可以得到一个高电位。 图 5.2 数码管 八段说明 7段显示器的接线图如上,我們要編一...[Details]
-
KEY_ button sample program ;************************************************************* #include ht48c10.inc ;------------------------------------------------------------------------data ...[Details]
-
; ******************************************** ; Function: 7-segment digital tube display program * ; MICroProcessor : HT48R50A-1/28SKDIP-A * ; Author: www.picavr.com * ; Cr...[Details]
-
Recently , there has been a lot of verbal wars about home cameras . First, a girl born in 1992 attacked Zhou Hongyi of 360, and then home camera IP cracking software and IP addresses were sold to ...[Details]
-
#include avr/io.h #include avr/delay.h #define uchar unsigned char #define uint unsigned int uchar np; //Stepper motor operation data table const uchar motortb ={0x11,0x99,0x88,0xCC,0x4...[Details]