STM32, what libraries are needed to write a program for a running light using the firmware library? I know that GPIO must be used, and RCC must use USART, NVIC? Why?
Beginners Help...
[img]http://www.5time.cn/attachments/0812/ec49183fe4fcce2c5a1ee9c89a21ed02.jpg[/img] [url=http://www.rjgc.net/uchome/space.php?uid=9317&do=blog&id=3497]Think about it,[/url] have you really done your ...
SD WiFi can successfully connect to the specified AP (Access Point) after the first insertion, but it cannot work after unplugging and plugging. It can only work after restarting the system. According...
As the title says, I want to use the linear optocoupler HCNR201 to make a battery voltage isolation detection circuit. I used Multisim to simulate the official reference circuit. The op amp must have ...
For 80,000
ZTE
(000063.SZ) employees and more Chinese ICT (information and communication technology) industry practitioners, the news from across the ocean on the evening of April 16 kept t...[Details]
1. Principle 1. Infrared emission protocol The infrared transmission protocol has been written in the previous article , so I will not repeat it here. 2. Timer counting and input capture A timer...[Details]
In the actual project development process, we often need to get the running time of a section of code. The usual method is to use an oscilloscope to measure it. This blog post will use SysTick to acc...[Details]
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]
Timing and protocol are two key points in digital system debugging, and they are also where logic analyzers can play their most valuable role. How can we use a logic analyzer to quickly complete wiri...[Details]
According to the description provided in the official manual of ST, it is not difficult to see that the ADC analog watchdog is actually that the user can set an upper and lower limit of the AD value...[Details]
STM32 has two watchdogs: independent watchdog and window watchdog. This article mainly introduces the use of independent watchdog. Independent watchdog (IDWG): driven by an independent 40KHZ low-sp...[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]
/* Unfortunately, it cannot generate a standard 38kHz frequency square wave, there is a little error*/ #include reg51.h #define uchar unsigned char #define uint unsigned int sbit Waveout=P1^0; //P...[Details]
As shown in the figure, the circuit is required to count and display the number of times the button is pressed. When the button is pressed once, the count value increases by 1 (it is required to accu...[Details]
The circuit shown in the figure requires that the light is off when the machine is turned on. Press the button once, and the light D1 will turn on and automatically turn off after a delay of 10 secon...[Details]
Design a program for the 51 single-chip microcomputer. It is known that the crystal oscillator frequency of the 89C51 single-chip microcomputer is 12MHz, and it is required to use T1 timing to output...[Details]
1. Analysis of the main causes of AVR damage: The AVR circuit consists of three parts: the rectifier main circuit, the voltage detection circuit, and the comparison control circuit. Excluding the...[Details]
MSP430 ADC10 single channel multiple conversions #include "msp430x22x4.h" #define uchar unsigned char #define uint unsigned int #define LCDen 0X80; //The upper three bits of P3 are used as cont...[Details]
The Arctic region has always been cut off from the outside world, and if oil workers and polar expedition personnel are in danger, they need
robots
to provide rescue work.
Sergey...[Details]