Porting RTOS to 51 Microcontroller

Porting RTOS to 51 Microcontroller

Previous Articles The official website of STC is a furnace I will never forget. A big shot commented. So, taking this opportunity, let’s take a look at the code he wrote. https://gitee.com/open-ell/freertos The file directory is in my favorite style, and the bsp directory clearly indicates its purpose. Below is an overview of the project. … Read more

Resolving LCD12864 Display Issues with Missing Characters

Resolving LCD12864 Display Issues with Missing Characters

Characters Not Displaying – Add \xfd at the End Let me explain! This issue is due to an inherent bug in Keil itself; the Keil compiler ignores strings ending with 0xFD, resulting in garbled characters for Chinese characters that end with 0xFD and the characters immediately following them, because it discards the 0xFD, leading to … Read more

Why C++ is Not Recommended for Microcontroller Programming

Why C++ is Not Recommended for Microcontroller Programming

Generally speaking, when programming on microcontrollers, it is either assembly or C language, and it is rare to develop with C++, so why is it not recommended to develop microcontrollers with C++? Below, I will combine Keil and STM32 to explain the content of writing a running light program in C++, to see why C++ … Read more

Understanding Programming Environments for Microcontrollers

Understanding Programming Environments for Microcontrollers

Microcontroller programming is a practical skill; programs must run on a microcontroller platform to see results and accumulate programming experience. While studying microcontroller courses at school, one might feel a disconnect due to a lack of practical application. In fact, learning about microcontrollers is simple, and the first step is to understand the programming environment. … Read more

Pros and Cons of Popular Development Environments for STM32

Pros and Cons of Popular Development Environments for STM32

Many beginners are asking: Which development tool should I use to learn STM32? First, let me share my opinion: 1. There is no best, only what is suitable; what suits you is the best. 2. There are many development tools, each with its own characteristics, and with advantages, there are also disadvantages. Today, let’s talk … Read more