Counting

This set of experiments deals with the most elementary function of a computer – counting. One might think that counting is a trivial exercise. But as we will see even counting has some interesting aspects.

The first set of counting experiments is dedicated to counting resets. Here the focus is mainly on keeping state although the Arduino resets. This naturally leads to investigations on how to deal with EEPROM memory best.

The second set of counting experiments is about counting really fast. I start with a fast Gray code counter. I then go on with an even faster counter.
The goal here is to count as fast as possible in software. As it turns out this also gives rise to cool pictures.

Gray Code Counter

Do you think counting is boring? I hope my experiments will convince you of the opposite.

Advertisement

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 )

Facebook photo

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

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.