Tag Archive: ring buffer

Android Accelerometer App

This entry describes a quick and dirty way of displaying accelerometer data on an android device. The application outputs the applied force as a circle, where the radius of the circle represents the magnitude of the force vector, with the gravity subtracted. It also demonstrates the difference between a shifting buffer and a ring buffer.

Continue reading »