Light my Fires

My DCF77 project is making good progress. However it will require at least 3 more articles. So I thought I should give it a short break. After all this project drifts a little bit to the signal processing side.

So this month I will focus a little bit more on the Blinkenlight aspects again. The motivation is taken from a question in the German Arduino forum. The question was how to simulate a bunch of light houses / light fires for a nautic map.

One approach would be to encode this in the style of my persistence of vision experiments and reduce the sample rate. However this confuses the actual blink rates and makes the code somewhat hard to adapt to new blink rates.

Thus I implemented a short light houses sketch.

Lighthouses

In my opinion the resulting code is pretty nifty. I especially like the fact there there are no explicit loop constructs for the blinking.

About these ads
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s