Flexible Array Member in C (FAM)

Flexible Array member in C

Before explaining the Flexible Array Member, It would be useful and easily understandable, if I explain the problem that we have. Flexible Array Member in C Problem Let’s take one example where I have to create one structure with variable size of the array. See the below snippet. typedef struct { char name[14]; char age; … Read more

STM32 RTOS – GPIO Tutorial (CMSIS V2)

STM32-RTOS-GPIO-Output

This is the STM32 RTOS (RTX-CMSIS) series. The aim of this series is to provide easy and practical examples that anyone can understand. Now in this tutorial, we are going to see “STM32 RTOS – GPIO Tutorial (CMSIS V2)“. STM32 RTOS – GPIO Tutorial (CMSIS V2 Thread Management) Prerequisites Before we start, I would suggest you … Read more

Getting started with STM32 RTOS – Project setup with Keil CMSIS

This is the STM32 RTOS (RTX-CMSIS) series. The aim of this series is to provide easy and practical examples that anyone can understand. Now in this tutorial, we are going to see “Getting started with STM32 RTOS – Project setup with Keil CMSIS“. Getting started with STM32 RTOS Requirement Keil IDE – Download here Download … Read more

Linux Device Driver Tutorial Part 41 – SSD1306 I2C Linux Device Driver using Raspberry PI

SSD1306 I2C Linux Device Driver

This is the Series on Linux Device Driver. The aim of this series is to provide easy and practical examples that anyone can understand. This is the Linux Device Driver Tutorial Part 40 – SSD1306 I2C Linux Device Driver using Raspberry PI. We are using the Raspberry PI 4 Model B for this demonstration. SSD1306 I2C Linux Device … Read more

NRF24L01 interfacing with 8051 – Wireless Xbee

NRF24L01 interfacing with 8051 tutorial is intended to enable wireless data transfer for 8051.  So to do that, we will interface nRF24L10 with 8051. This will enable us to transfer the data wirelessly (by air) between two 8051 boards using NRF24L01. NRF24L01 interfacing with 8051 Hardware Required 8051 Development board – 2 NRF24L01 – 2 … Read more

Linux Device Driver Tutorial Part 40 – I2C Bus Linux Device Driver using I2C-GPIO

I2C Bus Linux Device Driver using I2C-GPIO

This is the Series on Linux Device Driver. The aim of this series is to provide easy and practical examples that anyone can understand. This is the Linux Device Driver Tutorial Part 40 – I2C Bus Linux Device Driver using I2C-GPIO using Raspberry PI. We are using the Raspberry PI 4 Model B for this demonstration. … Read more

Linux Device Driver Tutorial Part 39 – Real I2C Bus Linux Device Driver

Real I2C Bus Linux Device Driver

This is the Series on Linux Device Driver. The aim of this series is to provide easy and practical examples that anyone can understand. This is the Linux Device Driver Tutorial Part 39 – Real I2C Bus Linux Device Driver example using Raspberry PI. We are using the Raspberry PI 4 Model B for this demonstration. … Read more

Linux Device Driver Tutorial Part 38 – I2C Bus Driver Dummy Linux Device Driver

I2C Bus Driver

This is the Series on Linux Device Driver. The aim of this series is to provide easy and practical examples that anyone can understand. This is the Linux Device Driver Tutorial Part 38 – I2C Bus Driver Dummy Linux Device Driver. We are using the Raspberry PI 4 Model B for this demonstration. I2C Bus Driver … Read more

Linux Device Driver Tutorial Part 37 – I2C Client Linux Device Driver using Raspberry PI

I2C Linux Device Driver using Raspberry PI

This is the Series on Linux Device Driver. The aim of this series is to provide easy and practical examples that anyone can understand. This is the Linux Device Driver Tutorial Part 37 – I2C Linux Device Driver using Raspberry PI. We are using the Raspberry PI 4 Model B for this demonstration. I2C Linux Device … Read more

Linux Device Driver Tutorial Part 36 – GPIO Linux Device Driver using Raspberry PI

GPIO Linux Device Driver

This is the Series on Linux Device Driver. The aim of this series is to provide easy and practical examples that anyone can understand. This is the Linux Device Driver Tutorial Part 36 – GPIO Linux Device Driver using Raspberry PI. In our previous tutorial, we have just used the GPIO pin as an output and … Read more