Minimizing Global Variables in Embedded C Programming
This article discusses the issue of global variables in embedded C programming. In embedded systems, especially in OS-less microcontroller programs, a common mistake is the excessive use of global variables. This phenomenon is often seen among programmers transitioning from early assembly languages and beginners, who tend to use global variables almost like function parameters. They … Read more