μC/OS-II is a portable, deprivation-type real-time multitasking embedded system suitable for safety-critical applications. It is easy to learn and is very popular in engineering applications and embed...
The summary is just to link several scattered posts together so that everyone can have a comparison and appreciate the progress and care of each design: First version: https://bbs.eeworld.com.cn/threa...
Hello everyone, my laboratory robot mainly uses a DC motor to drive climbing, but when going downhill, I want to use the reversible reaction of the DC motor to charge the battery. When the DC motor is...
[url]http://jingyan.baidu.com/article/b87fe19e84fae5521935685e.html[/url] This Baidu tutorial is well written, but there are still some things I don’t understand, for example, in , there is a differen...
As the title says, after blocking the sound hole, the sound is still small but can be heard clearly. However, with an active buzzer, the sound is particularly loud with the same volume and power suppl...
Today I wrote a simple IO port interrupt program, using three functions. The first GPIO_IntCmd (2, 1IO0IntStatR)>>pinNum)& 0x1); else if ((portNum == 2) && (edgeState == 0)) return (((LPC_GPIOINT->IO2...
I have always wanted to write some posts and blogs, but I just couldn't bear to do it as I just graduated. After some preparation, I decided to write down some of the things I learned in the past few...[Details]
Time flies. Since the beginning of 2018, news related to home appliance companies have repeatedly made headlines, and competition in the home appliance market continues to intensify. In order to be...[Details]
At present, the Beidou system has achieved industrial breakthroughs and leapfrog development in five major areas, including the automotive OEM market, smart phones, and high-precision applications....[Details]
As the brain of a mobile phone, the mobile phone processing chip is of great importance. Xiaomi, which started out as the MIUI company, has long been keenly aware of the gap between China and devel...[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]
The pins of stm32 have two uses: GPIO (general purpose io) and AFIO (alternate function io) For some pins (depending on the chip), neither of these two uses exists. For example, in 64-pin products, O...[Details]
1. Function and purpose There are two pins BOOT0 and BOOT1 on each STM32 chip. The level status of these two pins when the chip is reset determines which area the program starts from after th...[Details]
I have encountered many problems when tinkering with LD driver recently. I will record them one by one below. Otherwise, who will remember who in five hundred years? 1. Configuration issues of multi-...[Details]
The STM8L contains a 12-bit ADC with 25 input channels, including an internal temperature sensor, an internal reference voltage As can be seen from the figure above, there is an internal re...[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]
The single-chip microcomputer running light program requires all 32 serial ports to be used, and each serial port has eight LEDs. Question supplement: The 8051 single-chip microcomputer is used, an...[Details]
A simple experimental programming question for the microcontroller: write a 3-byte binary addition subroutine. The program entry is: addend 1: 22H, 21H, 20H three bytes, 22H is the highest bit; adden...[Details]