-
//Function: Use a four by four keyboard,
#include "config.h"
#define KEY_COL1 1 12
#define KEY_COL2 1 13
#define KEY_COL3 1 14
#define KEY_COL4 1 15
#define KEY_ROW1 1 8
#define KEY_ROW2 1 9...[Details]
-
Working principle of buffer starter
A buffer starter is an electrical device that gradually increases the rated motor current to mitigate the impact current and noise during the motor starting...[Details]
-
In the technical fields of particle accelerators, laser pulses, radar transmission, etc., power pulse modulators are widely used. Pulse modulators are usually composed of a DC high-voltage charging...[Details]
-
When using the PWM function of STM8, the duty cycle is usually changed to change the output voltage. However, sometimes it is not necessary to change the duty cycle of PWM, but it is necessary to cha...[Details]
-
I organized an infrared program for the NEC protocol, the NEC protocol, the physical environment is F103 Atomic Battleship V3, and used STM32CubeMX to generate the initial program. Timer configurat...[Details]
-
Smartwatch players can be divided into three factions. However, no matter which faction they belong to, they cannot escape this point. "It can tell time, but it can do more than just tell time." J...[Details]
-
Jiwei.com reported on November 20 that news from vivo's official Weibo showed that the new thin and light selfie phone, vivo S7e, was officially launched today. In terms of appearance, the vivo S7e...[Details]
-
1. Solution design: 1.1 Device selection: The hc-sr04 ultrasonic module has the characteristics of high detection distance accuracy, stable performance and small blind area, which can make the distan...[Details]
-
Table of contents: 1. Timer 1 and complementary PWM basics 2. Procedure: 1. TIM1_CH1_PWM complementary + dead zone 2. TIM1_CH2_PWM complementary + dead zone 3. TIM1_CH1_PWM+TIM1_CH2_PWM complementary...[Details]
-
1 Introduction In the ARM+FPGA system structure, the simplest way to achieve communication between the ARM-based embedded processor and the FPGA is through the asynchronous serial interface E...[Details]
-
1. Add the compiler path in STVD- Tools- Options- Toolset- Root path 1) An error message may be reported: -clDebug -coDebug main.c " has failed, the returned value is: 1 exit code=1. 2) can't op...[Details]
-
On April 26, Wuhan XMC Integrated Circuit Manufacturing Co., Ltd. (hereinafter referred to as "Wuhan XMC") announced that it would deepen its strategic cooperation relationship with Espressif Systems...[Details]
-
When I was writing a report a few days ago, I accidentally needed to use the software simulation in Keil5 to see the output PWM waveform. After several attempts, I finally figured it out. The problem...[Details]
-
1. Overview
24LC65 is a serial E2PROM chip with a large capacity at present, with a storage capacity of 8kB, small size, low power consumption, and power-off protection. The AT89C52 microcontr...[Details]
-
1. Experience:
First, let’s look at an example: Figure 1-1:
The process of compiling and burning:
Screenshot of main.c:
You can see that the first light is turned on...[Details]