code to drive an RGB LED strip based on accelerometer output, with RGB channels mapped to XYZ acceleration