-
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]
-
1. FSMC Brief FSMC, the Flexible Static Storage Controller, is capable of interfacing with synchronous or asynchronous memories and 16-bit PC memory cards. The FSMC interface of STM32 s...[Details]
-
Use the STM32 timer input capture module to control 3-way ultrasonic sensors. The ultrasonic sensor used this time is the common HC-SR04, which is often used in the obstacle avoidance system of smal...[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]
-
Mixed reality (augmented and virtual reality) is the next computing frontier after the PC in the 1970s, the web in the 1990s, and mobile platforms in the 21st century.
MR
is the most unique...[Details]
-
Simple programming question for single-chip microcomputers: write a 10-digit decimal addition subroutine (decimal numbers are stored in compressed BCD code) Input: addend: 24H-20H, the lower address ...[Details]
-
The CAN of the STM32 ordinary chip has 14 filter groups (the interconnected type has 28 filter groups) to filter the received frames. Each filter group includes 2 configurable 32-bit registers: CAN_F...[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]
-
; ******************************************** ; Function: 7-segment digital tube display program * ; MICroProcessor : HT48R50A-1/28SKDIP-A * ; Author: www.picavr.com * ; Cr...[Details]
-
introduce This application document describes the Atmel? ATMEL MCU, CPLD download line interface; the interface for online programming of AT89SX microcontroller using AT89SISP programmer. AT89ISP s...[Details]
-
AVR serial port says it has multi-machine communication function, which means it sends the slave address in the first frame and then sends data. So where is the slave address written? Does the slave ...[Details]
-
#include avr/io.h #include avr/wdt.h #include avr/delay.h #define uchar unsigned char #define uint unsigned int #define SET_ LED PORTB&=0XFE //PB0接黄色发光管 #define CLR_LED PORTB|=0X01 //1ms delay fu...[Details]
-
3D Printing
Lattice has all sorts of amazing applications and is increasingly used in the production of custom medical implants, lightweight industrial parts, and more. Let's take a look at t...[Details]
-
Winter is coming! The damage caused by static electricity to electronic components and equipment cannot be ignored in winter. Why do production lines invest so much in anti-static measures? It is b...[Details]