PID Control Algorithm: From Continuous to C Language Digital Control

Hello everyone, I am the Intelligence Guy~ Today, I summarized the PID algorithm, from continuous algorithm formulas to discrete digitalization~ Whether it’s a drone hovering in place, a balance scooter maintaining an upright posture, or a water heater accurately maintaining a set temperature, they all rely on thePID control algorithm, a powerful tool. As the … Read more

Differences and Connections Between C and C++

Differences and Connections Between C and C++ Introduction C and C++ are two widely used programming languages with a long history, playing significant roles in software development. Despite their many similarities, there are also notable differences. This article will explore the similarities and differences between these two languages in detail. 1. Basic Overview 1. C … Read more

Design and Practice of C Language Programming Course

Design and Practice of C Language Programming Course Editing Team: Information Division Party Branch 01 Course Overview and Objectives The “C Language Programming” course is an important foundational course for majors such as Communication Engineering, Electronic Information Engineering (Excellence Engineer Direction), Electrical Engineering and Automation. It serves as a programming tool for other professional courses, … Read more

C Language Algorithm: Shell Sort Illustrated

▼For more exciting recommendations, please follow us ▼ Source: Embedded Linux | Typesetting: Mastering Embedded Systems Shell sort is very similar to insertion sort, resembling an upgraded version of insertion sort.Shell sort is a sorting algorithm proposed by Donald Shell in 1959. It is also a type of insertion sort, which is a more efficient … Read more

The ‘C Language’ of Jiangbei: Innovation, Entrepreneurship, and Creation

Recently, the “Jiangsu Province Brain-like Intelligent Technology Innovation Center” was inaugurated in the New District. Focusing on brain-like intelligent technology, Academician Cheng Heping from the Chinese Academy of Sciences and a professor at Peking University has once again come to the New District, bringing with him a plan of “three dimensions of elevation”. He will … Read more

How to Dance on the Tip of Embedded C Programming? 7 Examples from a 15-Year Veteran

Adapted from online information, Author: Xiao Ma Er I can’t remember when I started frequently taking on the task of recruiting for companies, focusing on the recruitment of personnel for industrial embedded product development. Out of a sense of responsibility towards both the company and newcomers, I tend to seek individuals with solid foundational knowledge … Read more

Applications of Unions in Microcontroller Programming

01Union In the previous article “Combining Enumerations and Structures”, it was mentioned that a structure is like a packaging that encapsulates variables with common characteristics. A structure is a composite or complex type that can contain multiple members of different types. In C language, there is another syntax that is very similar to structures, called … Read more

Pursuing Innovation and Excellence

In line with the cultural spirit of focusing on fundamentals and cutting-edge advancements, the Department of Computer Science and Technology at the School of Computer Science has organized the 2021 Microcontroller Programming Competition. This initiative aims to enhance the construction of microcontroller-related majors and courses, strengthen engineering practice, design, and innovation capabilities, and emphasize the … Read more

Common Microcontroller Programming Frameworks

What is a framework? A program framework is similar to an outline or template for a document. Writing a program is akin to writing an article; without an outline or template, the process can be cumbersome. Why have a framework? To save time and reduce errors. For a specific type of program, the code structure … Read more

10 Major Challenges in Microcontroller Programming and Their Solutions

1. What are the advantages and disadvantages of C language and assembly language in microcontroller development? Answer: Assembly language is a symbolic language that uses mnemonic codes to represent machine instructions, making it the closest language to machine code. Its main advantages are low resource usage and high program execution efficiency. However, assembly languages can … Read more