Embedded C is the most common Programming Language for Embedded Systems. So, we will see basics of Embedded C Program like introduction, structure, example.
F L Y Team-Fly ® Kirk Zurell Page i Distributed in the U.S. and Canada by: Publishers Group West 1700 Fourth Street Berkeley, CA 94710 ISBN 1-92962...
This Article Discusses an Overview of Embedded C Program, Different Steps in Designing, Advantages, Disadvantages and Its Applications
Learn structures in Embedded C with clear syntax, examples, member access using dot and arrow operators, and practical embedded-system applications. Understand how structures help organize sensor data, configuration parameters, communication packets, logs, and peripheral information.
An overview of unit test mocking and integration tests for embedded software and firmware, using popular frameworks such as CppUTest, CppUMock, fff, and CMock.
In this post, by Embedded I’m generally referring to deeply embedded/bare-metal systems as opposed to Linux-based embedded systems. Embedded systems and strings Historically, the need for and thus the use of strings in embedded systems was fairly limited. However, this has changed with the advent of cheaper, full graphic displays and the growth of the ‘Internet of Things’ (IoT). Many embedded systems sport full-colour graphics displays, supported by embedded-specific graphics libraries, including: free open-source – e.g. LVGL vendor-specific – e.g. TouchGFX from STMicroelectronics fully specialised graphics [...]
Learn ESP32 fundamentals with clear diagrams and practical examples. Understand ESP32 architecture, GPIO, ADC, PWM, UART, SPI, I2C, Wi-Fi, Bluetooth, deep sleep, boot modes, peripherals, development boards, common applications, and essential best practices for embedded projects.
Learn bitwise operators and bit manipulation techniques in Embedded C. Understand AND, OR, XOR, NOT, left shift, right shift, and how to set, clear, check, and toggle individual bits. Includes practical examples for hardware registers, flags, LED control, masking, and embedded systems.
Learn pointers in Embedded C with simple examples and memory diagrams. Understand pointer declaration, dereferencing, pointer arithmetic, passing pointers to functions, hardware register access, and important pointer best practices. A useful guide for Embedded C beginners, embedded software engineers, and interview preparation.
The pros and cons of each, and why you should consider Python for embedded programming.
Learn what pointers are in Embedded C with simple memory diagrams and practical examples. This beginner-friendly tutorial explains pointer basics used in STM32, microcontrollers, and embedded software development. #EmbeddedC #Pointers #STM32 #EmbeddedSystems #Programming
Can you predict the output before checking the answer? Test your Embedded C knowledge with this tricky pre-increment and post-increment question. Learn why modifying the same variable multiple times in one expression can cause undefined behavior and why interviewers ask questions like this. Save this Pin for Embedded C interview preparation!
Learn strings in Embedded C with clear memory diagrams and practical code examples. Understand character arrays, null termination, string initialization, strlen(), strcpy(), strcat(), strcmp(), string input/output, common mistakes, and real embedded applications such as UART commands, displays, and data logging.
Learn how timers work in embedded systems with clear diagrams and practical examples. Understand timer clocks, prescalers, counters, auto-reload, timer interrupts, output compare, PWM generation, time-period calculation, and common timer applications. Essential for Embedded C and microcontroller interviews.
Learn I2C communication in Embedded C with clear diagrams and practical examples. Understand SDA and SCL, master and slave devices, 7-bit addressing, ACK/NACK, start and stop conditions, pull-up resistors, speed modes, read/write operations, common errors, and I2C bus recovery.
Master pointers in Embedded C with clear memory diagrams and practical code examples. Learn pointer declaration, address and dereference operators, arrays, functions, pointer arithmetic, hardware register access, and common pointer mistakes. Essential for Embedded C interviews and embedded software development.
Understand the difference between Stack and Heap memory in Embedded C! This practical infographic covers automatic vs dynamic allocation, memory layout, malloc()/free(), local variables, stack overflow, memory leaks, fragmentation, FreeRTOS stack usage, common mistakes, best practices, real-world embedded applications, and interview questions. Perfect for Embedded C, STM32, FreeRTOS, firmware and embedded software interviews.
Learn how memory is organized in Embedded C. Understand the stack, heap, global/static data, BSS, DATA, and code/text sections with clear diagrams and examples. Essential knowledge for embedded software development, debugging, and technical interviews.
🧠 Stack vs Heap — an essential Embedded C concept! Understand how Stack and Heap memory work in Embedded C and STM32, including allocation, memory management, usage, differences and common problems. 🔹 Stack vs Heap 🔹 Automatic vs dynamic allocation 🔹 Stack & Heap memory layout 🔹 malloc() and free() 🔹 Stack overflow 🔹 Memory leaks & fragmentation 🔹 Real-world Embedded C examples 🔹 When to use Stack vs Heap 🔹 Interview-ready key points
Learn the 10 essential Embedded C concepts every beginner should understand, including pointers, structures, bit manipulation, volatile, memory management, interrupts, memory-mapped registers, static, and function pointers. Useful for embedded systems learning, programming practice, and technical interviews.
C++ is a general-purpose programming language. C++ contains object oriented concepts which has so many advantages. It is designed in terms of System Programming and Embedded systems. In 1983, “C with Classes” was renamed to “C++”, adding new features that included virtual functions, function name and operator overloading, references, constants, type-safe free-store memory allocation (new/delete),…
Learn the Basics of Embedded Systems Programming, Follow this detailed Tutorial to Start Coding down to Bare Metal Hardware with Raspberry Pi.
Welcome to this course on C++ Tutorial for Beginners. In this video we will see How to use File I/O in C++ i.e. How to Create, Read and Write to a File in C...
C++ is a general purpose programming language. C++ includes object-oriented concepts that have numerous advantages. Designed from a systems programming and embedded systems perspective. OOP concepts such as polymorphism, encapsulation, inheritance, and abstraction make C++ superior to other programming languages. This feature is missing in C and has proven to be very important as it…
Here I will highlight some features of C language commonly used in 8 bit embedded platforms like 8051, AVR and PICs. While programming microcontrollers in C most of the time we have to deal with registers. Most common tasks are setting and clearing bits in a register and check whether a bit is 0 or 1 in a given register. So here I will give detail on those topics, it will help you if you are new to embedded programming in C and if you get confused when you see some codes. A Register A register is simply a collection of some bits (mostly 8 bits in case of 8bit MCUs). Either each different bit in a register has some purpose or the register as a whole holds a value. Registers serves as connection between a CPU and a Peripheral device (like ADC or TIMER). By modifying the register the CPU is actually instructing the PERIPHERAL to do something or it is configuring it in some way. And by reading a register, the CPU can know the state of peripheral or read associated data. Fig.: CPU writing to Peripheral Register Fig.: CPU Reading from Peripheral Register Binary Numbers in C When you write a=110; in C it means you are setting the value of variable"a" to "one hundred and […]