-
1. Development Environment 1. Applicable chips: All STM32F4 chips 2. Firmware library: STM32F4xx_DSP_StdPeriph_Lib_V1.8.0 3,IDE:MDK517 2. Driver source code Delay.h File /**...[Details]
-
1. The first project We are going to create the first project, which is mainly for project analysis, so that we can understand how CubeMX works and how to trace the code logic. Okay, no more nonsense...[Details]
-
As many companies listed with
the concept of
touch screen
begin to "transform and upgrade", the official voice of the TP industry is getting smaller and smaller. At the same time, the list o...[Details]
-
On May 8,
Google
I/O 2018 Developer Conference was held as scheduled in Mountain View, California. In the second year of the full promotion of the "AI first" strategy, artificial intelligen...[Details]
-
//Observe the difference between feeding the dog and not feeding the dog, and use the LED indicator of the PB port for status indication. //Switch the LED indicator enable switch of the PB po...[Details]
-
I used the bit definition in my 51 program: bit flag. After defining it this way, I ran the program and downloaded it to the circuit board. I found that the flag was not the value I set, which led to...[Details]
-
The Vatican Secret Archives is one of the world's greatest historical collections, but many of its documents have never been transcribed. Recently, a project called Codice Ratio used a
combination...[Details]
-
Ouster LiDAR OS-1 (left) and OS-2 (center) Velodyne invented the modern 3D LiDAR scanner in the mid-2000s, but in recent years conventional wisdom has held that Velodyne’s design — 64 lasers mounted...[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]
-
Interrupts and timers implement a 24-hour clock. The program is as follows: #include reg52.h #define PORTLEN P0 sbit bit_select = P2^0; sbit seg_select = P2^1; unsigned char src = {0x3f,0x06,0...[Details]
-
Table of contents: 1 Overview 2: Common interrupt functions 3: PWM output 1 Overview In development, timers are widely used, which can be simply summarized into three aspects: 1.1: Application of ...[Details]
-
For complex calculations, the speed of the microcontroller is too slow. The best way is to manually calculate all the results in advance, store them in ROM in sequence, and then directly check the re...[Details]
-
Take serial port interrupt as an example: like: void serial() interrupt 4 { } and void serial_uart() interrupt 4 { } The functions of both functions are to define the serial port interrupt function. ...[Details]
-
#include "MSP430x44x.h" void init_UART(void); void uart_start(void); void uart_send(void); void uart_receive(void); unsigned char RXDATA_BUF ,TXDATA_BUF ={0xbd,0x77,0x3d,0xc5,0xc6,0xf5,0x68,0x0d...[Details]
-
//PROJECT : EA21 // IC : SAMSUNG S3C9454 #include "ioS3C9454.h" //Write it yourself, pay attention to const ? //**************************** // PIN define area //*************...[Details]