Monthly Archives: June 2013

Learning Cadsoft EAGLE from online Tutorials

The Cadsoft Eagle schematic/PCB layout program is the favorite among the open source community. Because of that there are lots of component libraries available. While it is a commercial program, the company offers a freeware version which limits the PCB … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

Profiling Code: More Than One Way to Skin A Cat

I found an excellent profiling library for the Arduino posted by the seemingly inexhaustible Arduino Forum poster Nick Gammon. You can find Nick’s code here. Here is the program code from my cycle counting post with Nick’s profiling library inserted … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

The Lost Art of Cycle Counting

Let’s assume we want a 1/2 second delay inserted into our program (at least as close as we can get given crystal accuracy). We could simply rely on the built-in delay functions, or we could roll our own. So let’s … Continue reading

Posted in Uncategorized | Tagged , , , , , , , | Leave a comment

Moving, Rolling and Running (Average)

Simple Moving Average A Finite Impulse Response Filter, or Moving Average is an example of a low-pass filter typically used in signal processing. In its most basic form it’s simply used to smooth data. Its true purpose is to smooth … Continue reading

Posted in Uncategorized | Leave a comment

GCC Inline Assembler Cookbook

Here is a most basic example: The general form of an inline assembler statement is: The special sequence of linefeed and tab characters helps keep the assembler listing looking nice, and is required to prevent more than one instruction appearing … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | 1 Comment