Designing and testing embedded systems

Having worked with both C and embedded systems for a major of my professional time I have always found it interesting to apply different software development methodologies and practices in an embedded environment. One such practice is test driven development (a.k.a. tdd). Often, I’ve heard the excuse that various ideas can not be applied to […]

Introduction to function pointers in C

Have you ever wondered what a function pointer in C is and how to use them? I have! I ran into a great introduction to function pointers that I just had to share with you. By using function pointer you can easily implement a callback function or why not create a dynamic interface by collecting […]

How to implement a module in C

Introduction Being a programmer, we have all read source code that really hard to understand and follow. Words like spaghetti code instantly pop up in our head when we see it. Files are open in one file, used in a second and closed in a third file. Magic things are happening here and there. Code […]