Ten Little Algorithms, Part 2: The Single-Pole Low-Pass Filter

Jason Sachs
2 comments

Other articles in this series: Part 1: Russian Peasant Multiplication I’m writing this article in a room with a bunch of other people talking, and while sometimes I wish they would just SHUT UP, it would be better if I could just...


Ten Little Algorithms, Part 1: Russian Peasant Multiplication

Jason Sachs
1 comment

This blog needs some short posts to balance out the long ones, so I thought I’d cover some of the algorithms I’ve used over the years. Like the Euclidean algorithm and Extended Euclidean algorithm and Newton’s method —...


My Love-Hate Relationship with Stack Overflow: Arthur S., Arthur T., and the Soup Nazi

Jason Sachs

Warning: In the interest of maintaining a coherent stream of consciousness, I’m lowering the setting on my profanity filter for this post. Just wanted to let you know ahead of time. I’ve been a user of Stack Overflow since December of...


Coding Step 1 - Hello World and Makefiles

Stephen Friederichs

Articles in this series:Coding Step 0 - Development EnvironmentsCoding Step 1 - Hello World and MakefilesCoding Step 2 - Source ControlCoding Step 3 - High-Level RequirementsCoding Step 4 - DesignStep 0 discussed how to install GCC and...


Important Programming Concepts (Even on Embedded Systems) Part V: State Machines

Jason Sachs
1 comment

Other articles in this series: Part I: Idempotence Part II: Immutability Part III: Volatility Part IV: Singletons Part VI: Abstraction Oh, hell, this article just had to be about state machines, didn’t it? State machines! Those...


Coding - Step 0: Setting Up a Development Environment

Stephen Friederichs
1 comment

Articles in this series: Coding Step 0 - Development Environments Coding Step 1 - Hello World and Makefiles Coding Step 2- Source ControlCoding Step 3 - High-Level RequirementsCoding Step 4 - Design You can easily find a million articles...


Book Review: "Turing's Cathedral"

Jason Sachs

My library had Turing’s Cathedral: The Origins of the Digital Universe by George Dyson on its new acquisitions shelf, so I read it. I’d recommend the book to anyone interested in the history of computing. Turing’s Cathedral...


Important Programming Concepts (Even on Embedded Systems) Part I: Idempotence

Jason Sachs
2 comments

There are literally hundreds, if not thousands, of subtle concepts that contribute to high quality software design. Many of them are well-known, and can be found in books or the Internet. I’m going to highlight a few of the ones I think...


Introduction to Microcontrollers - 7-segment displays & Multiplexing

Mike Silva
1 comment

[quicklinks] Doing the 7 Segment Shuffle The 7 segment display is ubiquitous in the modern world.  Just about every digital clock, calculator and movie bomb has one.  The treadmills at my gym have 6 or 7, each one displaying 3 or 4...


Using the C language to program the am335x PRU

Fabien Le Mentec

Introduction Some weeks ago, I published an article on how we used the PRU to implement a power supply control loop having hard realtime constraints: http://www.embeddedrelated.com/showarticle/586.php Writing this kind of logic in assembly...