Explaining variables

Explaining variables

I recently came across an excellent book: The Art of Readable Code by Dustin Boswell and Trevor Foucher. As soon…

Embedded software video blog about the C keyword static

Embedded software video blog about the C keyword static

My latest video blog is now available. I am talking about the C keyword static and its different, rather confusing,…

Inline recursive functions

Inline recursive functions

Recently, I blogged about a video in which I talked about inlining of code. I thought that this was an…

DDoS, the IoT and Nucleus

DDoS, the IoT and Nucleus

First off, I lay no claim to be an Internet security expert. Maybe because of this, I was quite shocked…

Writing portable/reusable code

Writing portable/reusable code

What are you priorities when writing code? Obviously you need to implement some specific functionality and there may be a…

Bitwise operations on device registers

Bitwise operations on device registers

A lot of embedded software is focused on the control of peripheral devices and this can present some interesting challenges….

Take a break – the break statement in C

Take a break – the break statement in C

It is a given that structured programming – in one form or another – is a Good Thing. For years,…

Variable declarations in C – plenty of pitfalls

Variable declarations in C – plenty of pitfalls

It is widely felt that C is a very good language for embedded applications, as it is expressive, compact and…

Video blog: volatile keyword in embedded software

Video blog: volatile keyword in embedded software

My latest video blog is now available. I am talking about the volatile keyword in C/C++, which is of vital…