Layered Design in MCU Programming for Effective Decoupling

First, let’s demonstrate the effect.The host computer and the embedded system are decoupled through serial communication, meaning changes in the implementations of the host and embedded systems do not affect the interface programming.There is a term in object-oriented design called: “programming to an interface.” This suggests that programming based on class interfaces is less pure … Read more

Embedded Software Design: A Colleague Claims to be a C Language Programming Expert

Embedded Software Design: A Colleague Claims to be a C Language Programming Expert

I am Lao Wen, an embedded engineer who loves learning.Follow me to become even better together! I remember when I first started working, a master told me that if you are not familiar with longjmp and setjmp, you should not call yourself a C language expert. At that time, I was half-convinced, but to move … Read more

Sharing Two Programming Philosophies for Microcontrollers

Sharing Two Programming Philosophies for Microcontrollers

Layered Thinking The concept of layering is not a mysterious thing; in fact, many engineers working on projects are already using it. I have seen many posts that do not mention this concept, yet layered structures are very useful, and understanding them can lead to a moment of enlightenment. If I don’t understand how to … Read more

Insights on Embedded Software Design

Insights on Embedded Software Design

I remember when I first started working, a senior developer told me that if you are not familiar with longjmp and setjmp, you shouldn’t call yourself a C language expert. At that time, I was skeptical, but to advance my skills, I spent some time learning how to use longjmp and setjmp. Later, I realized … Read more

Two Embedded Programming Concepts: Layered and Time-Slicing, Have You Used Them?

Two Embedded Programming Concepts: Layered and Time-Slicing, Have You Used Them?

Scan to FollowLearn Embedded Together and grow together 1. Layered ConceptThe concept of layering is not a mysterious thing; in fact, many engineers working on projects are already using it. The layered structure is indeed very useful, and once understood, it can lead to a moment of enlightenment.If I don’t understand how to drive an … Read more

Embedded Software Programming: How to Improve Code Portability?

Embedded Software Programming: How to Improve Code Portability?

I am Lao Wen, an embedded engineer who loves learning.Follow me, and let’s become better together!For experienced developers, writing code with an emphasis on portability is essential, not only for the convenience of others but primarily for oneself, to avoid creating pitfalls.Here, I will share some key points on enhancing the portability of embedded code.1. … Read more