Lily Pad accelerometer program

I am attempting to put together a simple program to vary the timing of the fade of an LED to the velocity of a biker. aka the faster they bike the faster the LED fades in and out. I'm pretty new to programming and Arduino is this do able?

I think what I have to do is some hoe integrate the data coming out of the accelerometer but I'm not sure exactly how to do this. Does anyone have a simple tutorial I could go through?

is this do able?

Yes, it is.

I think what I have to do is some hoe integrate the data coming out of the accelerometer

Yes, you do.

The real question, though, is how is the accelerometer mounted, and what kind of data are you getting from it?

I'm mounting the accelerometer to the person's arm with the x-axis facing forward. Do I need more than one axis if I'm only interested in linear movement forward? One of my issues is I'm not positive what the datat I'm getting is telling me.

One of my issues is I'm not positive what the datat I'm getting is telling me.

The output from the accelerometer is the instantaneous rate of acceleration. Acceleration is change in velocity. Velocity is rate of change of position, in a given direction. What integrating the acceleration values gives you is velocity.

The number's are about 500 + or - about 50. is that normal?

The number's are about 500 + or - about 50. is that normal?

Maybe. Maybe not. Depends on which accelerometer you have.