So what we have is a custom RGB board that includes a motion sensor as well....
Sheer whirling wizardry, Jose! Would love to see the top perform in person. Videos of my blacklight LEGO tops never seem to capture the full effect, and that's probably true in your case as well.
Fascinating hardware and programming project.
1. How do the 2 modes differ?
2. Do you use acceleration events other than quick movements to trigger color changes?
3. Can your system work out axis changes from sensor outputs? Not just tilt from vertical, but azimuths round the vertical as well?
4. How much latency from triggering top motion to color change?