Saving LED Configurations to Arduino Using EEPROM

While working on the next release of PixelMaestro, I came across a problem of storing long-term data on an Arduino. I have a system in place where configuration changes are sent to an Arduino over USB as byte arrays, and as the Arduino reads the array it applies the changes. The problem is those changes disappear as soon as you restart the device. How, then, does one store persistent data without having to add an SD card or extra memory? Enter EEPROM.

Continue reading “Saving LED Configurations to Arduino Using EEPROM”

Gamifying Your Life Part 2: How I Use LifeRPG

In an earlier post, I explored the idea of productivity gamification and how it can help increase your motivation. I’ve been testing this over the past few weeks by using an Android app called LifeRPG to track my habits, tasks, and important milestones I wanted to reach. In this post, I’ll go into detail about my LifeRPG setup and how it’s helped me stay focused in my everyday life.

Continue reading “Gamifying Your Life Part 2: How I Use LifeRPG”

Gamifying Your Life

Each day begins with a list of tasks I want to accomplish. Whether it’s short-term (writing a blog post) or long-term (working on a programming project), completing each task helps me feel more successful. But sometimes motivating myself can be difficult, and on some days even the simplest tasks can seem insurmountable. In this post, I’ll discuss a strategy I recently found that actually makes everyday tasks seem fun!

Continue reading “Gamifying Your Life”

Building a Lightweight, Arduino-friendly Communication Protocol

On today’s episode of “Adventures in C++”: sending commands between two Arduinos running the same software. Not just data, but also instructions on how to process and execute that data. Even more, these commands have to be small enough for each Arduino to package, send, receive, unpack, and execute in less than 1/10th of a second.

Continue reading “Building a Lightweight, Arduino-friendly Communication Protocol”