Date: agosto 25, 2025
Author: Guillermo Garcia
Categories: Embedded C programming Tags: Embedded C programming
In this article we will look at the if and switch selection statements, which are the most commonly used in C language programs for embedded systems. Selection statements C provides three types of selection statements. The first type is the if selection statement that either performs an action if a certain condition is met or […]
Read full article...Date: agosto 25, 2025
Author: Guillermo Garcia
Categories: Embedded C programming Tags: Embedded C programming
In this article we are going to see the logical operators that are important for creating programs in C language. Arithmetic expressions In most C programs, one or more calculations will be needed. To this end, the C language is equipped with a number of arithmetic operators as summarized. Some remarks: Difference between i++ and […]
Read full article...Date: agosto 25, 2025
Author: Guillermo Garcia
Categories: Embedded C programming Tags: Embedded C programming
In this article we will see how to use preprocessor directives in C language programs. The C preprocessor A program written in C code needs to traverse different steps before it can be executed. First, the C preprocessor or parser will search for preprocessor directives in the source code and take the appropriate action. Next, […]
Read full article...Date: agosto 25, 2025
Author: Guillermo Garcia
Categories: Embedded C programming Tags: Embedded C programming
Data types and variables are essential for embedded C language. In this article, we will learn about data types and variables. Variables A variable is a symbolic name used to address a certain memory location. The compiler will replace all variable names with their corresponding memory addresses. A variable has a memory location (lvalue) indicated […]
Read full article...