While working on the next release of PixelMaestro, I came across a significant problem: I had a system in place for storing configurations as byte arrays, and I had a system in place for reading in and executing these arrays. This was perfectly fine on a computer, since I could save these arrays to a file. But on an Arduino (where files aren’t a thing), where and how was I supposed to store a series of bytes that would persist across reboots? Enter EEPROM.
In an earlier post, I explained how I used version control software to manage my creative writing documents. Since then, I’ve developed a setup that’s more transparent, easier to work with, and requires less command-line wizardry.
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.
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!
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.
One of the coolest things about C++ is how flexible the language is. If you’re faced with a problem that has no apparent solution, chances are you’re just not approaching it from the right angle.