The tests code for the accelerometer and neopixels both work great. I've garnered the values I want to work between with the accelerometer (just x-axis for now).
QUESTION: How can you assign the input values from the accelerometer to the neopixel color? to blend the colors like the "rainbow" or "color wipe"?
For instance, say the input is 0 to 600 where I want 0 = red, 100 = orange, 200 = yellow....etc... till 600 = purple...but all to blend? Thoughts?
Look for a function that translates between HLS and RGB color models. HLS is Hue/Lightness/Saturation and makes it easy to pick a color (Hue) separate from the Lightness (from dark to light) and Saturation (from pastel to vivid). Map your input numbers to Hue and keep Lightness and Saturation up full. Convert to RGB and send the RGB values to the pixels.