Microcontroller state machine with enum tutorial

Flag variables are great, and totally not evil, when you just have two states: ON or OFF. What about when you have multiple states? Is there an option better than creating multiple …
Read More
Flag variables are great, and totally not evil, when you just have two states: ON or OFF. What about when you have multiple states? Is there an option better than creating multiple …
Read More
Recently I picked up a device called Logic from Saleae. It’s a 4-channel USB-based logic analyzer. While learning how the simple, but effective, UI works I ran some timing …
Read More
Getting programming questions answered on the internet can be problematic. Programmers love to have opinions, stick to those ideas, and express them to you even when their opinion …
Read More
The other day my friend called me up. He told me how much he missed building circuits and wanted to start again with the Arduino. So he asked me “which Arduino starter kit is the …
Read More
How to blink (or flash) a LED without delay() and detect button pushes One of the limitations of the delay() function is that nothing else can really be done. This presents a …
Read MoreAll Arduino boards contain analog and digital pins. The Arduino functions have different calls depending on the pin type. For example, when calling analogRead(), an analog input …
Read MoreThe Arduino Library provides functions like shiftOut() and digitalWrite(). These functions are simple and effective, but they are slow. Of course, they’re doing a lot more than …
Read More
The (official) Arduino team has finally released the 1.6 version of the Arduino software. After being in the making for over 2 years, this release is an exciting one! 1.6 marks the …
Read More
What happens when you have a random chip or sensor you want to interface with an Arduino, but don’t know how? You search for a pre-existing library of course. And where are many …
Read More
Warning, the title of this post is a little bit misleading. It isn’t just one-click to get cleanly formatted code, it’s actually two. There are two things seasoned programmers will …
Read More