Category Archives: Programming

Why You Don’t Want To Use Dynamic Allocation On Your MCU

If you have some background in computer programming languages, and you just started working with low-memory MCUs, you may be tempted to do some dynamic allocation in your programs. After all, that’s what smart memory management is all about, right? Well, the truth is that in the vast majority of cases, dynamic allocation in MCUs will be pointless and even detrimental. In this post, I will explain why.

Continue reading Why You Don’t Want To Use Dynamic Allocation On Your MCU

These Bootloaders Are Made For Flashin’ (How Arduino Programming Works)

Remember the first time you got the Arduino to blink an LED? When you clicked the icon on your desktop, and some little lights on the Arduino board blinked like crazy for a few seconds, and then it just worked? Brace yourself, because we are about to ruin that magic forever and reveal what actually happens behind the scenes!

Continue reading These Bootloaders Are Made For Flashin’ (How Arduino Programming Works)