-
#include
#define LED PC_ODR_ODR1//PC1- LED
#define SW PD_IDR_IDR3//Button
/****************************************************
PC1 push-pull output, PD3 pull-up input and turn on key interrupt ...[Details]
-
There is a harp without strings in the Iranian Pavilion of the Shanghai World Expo. It is recognized by many visitors as the most interesting exhibit in the Iranian Pavilion! Visitors only need to ...[Details]
-
Following the release of iOS 15.2.1 earlier this month, Apple on Thursday stopped signing iOS 15.2 for all iPhones, iPod touches, and iPads. This means users can no longer downgrade their devices to ...[Details]
-
Application technology | Juwan ultra-fast/extremely fast charging battery technology
Application field: Powertrain and charging ...[Details]
-
With the continuous development of automobile intelligence and autonomous driving technology, more and more suppliers are beginning to want to take off the traditional hat of "parts manufacturers" an...[Details]
-
The breathing light was first seen on Apple computers, and in recent years it has also frequently appeared on various mobile phones. The breathing light is a very simple thing. Use a 555 to build a...[Details]
-
On the evening of November 7, Shida Shenghua issued an announcement that its wholly-owned subsidiary Shenghua New Energy Technology (Dongying) Co., Ltd. plans to invest in a 300,000 tons/year electro...[Details]
-
The microcontroller is very simple and anyone with a basic knowledge of electronics can play with it.
There are several levels of playing with microcontrollers:
1. Pure hardware DIY: This level o...[Details]
-
Purpose:
Use serial port 1 to continuously print a message to the computer, receive data from the serial port at the same time, and send the sent data directly back to the computer.
exper...[Details]
-
The difference between triangle connection and star connection
Both the triangle connection and the star connection are the connection methods of three-phase AC motors. The main difference lie...[Details]
-
Since 2014, with the decline in battery costs, the energy storage industry has been developing rapidly. As a carrier of chemical energy storage, the technological innovation of batteries is conducive...[Details]
-
I have recently been reading "Writing Embedded Operating Systems Step by Step". I feel that this book is very good. Many parts are explained very clearly and are highly operational. I plan to read,...[Details]
-
1. Phenomenon: All LEDs flash.
Problem: Poor contact.
Solution: Re-fix or reconnect the loose parts.
2. Phenomenon: LED is dim.
Problem:
1. The LED polarity is reversed.
...[Details]
-
Pressure measurement and control system is one of the common application modules in embedded applications and is widely used in various measurement and control systems in modern industry. This pape...[Details]
-
/* *illustrate: *PA0:KEY1;PA1:KEY2; *PA2:LED1;PA3:LED2; *PA9:USART1_TX;PA10:USART1_RX */ #include "stm32f10x.h" #include "stm32f10x_rcc.h" #include "stm32f10x_gpio.h" #include ...[Details]