Five Arduino math fixes for when it is wrong

While the Arduino library does an excellent job of hiding some of C/C++’s warts, at the end of the day, it is still just C/C++. This fact causes a few non-intuitive issues for …
Read More
While the Arduino library does an excellent job of hiding some of C/C++’s warts, at the end of the day, it is still just C/C++. This fact causes a few non-intuitive issues for …
Read More
Whenever someone sends me some code that doesn’t work, there are a few common Arduino programming mistakes that I check. Some of these mistakes I make myself. In most cases my code …
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
A friendly reminder video to everyone asking for help in a programming forum. Lately I’ve been looking for ways to expand on the content in the AddOhms YouTube channel. One of the …
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
There is one mistake that all C programmers make, regardless of experience. You’ll do it often when you get started, but never completely stop. The mistake? Confusing the …
Read MoreArduino boards have microcontrollers with notoriously small amounts of RAM. The Uno only has 2,048 bytes of static RAM available for your program to store variables. So when you …
Read More