Jon, thanks. The board does have an accelerometer and it is what triggers the display. It was a challenge, though, separating out the gravity signal from the motion signal. Also, I owe a lot to my blogger Ryszard Milewicz, who started this with a program that displayed the I heart MCC message when he waved it around in his hand. I "featureized" it a bit, adding the multiple message capability and adjusting the display timing somewhat. Oh, and it's my hand.
Hi Rich, Very clever approach to developing a cool embedded product. The method of modifying code to change the product functional behavior is what I discuss with my ITT Tech Electrical Engineering Tech students every class period. I often use this rapid development method for embedded devices and gadgets I create in my home lab as well. Very cool project!!!
Some of my code would make a grown C programmer cry too, RichQ. What some folks might call "spaghetti code" I prefer thinking of as "thinking outside of the box" :) Besides, since I am Italian, the moniker fits in my case LOL
Rather than reinventing the wheel - you simply readjusted it - a great time saver that still took tech know-how - Great job!
Focus on Fundamentals consists of 45-minute on-line classes that cover a host of technologies.
You learn without leaving the comfort of your desk. All classes are taught by subject-matter experts and all are archived.
So if you can't attend live, attend at your convenience.