Accelorometer input to LED output

Hi Energroup15,

Yes, post a link to the device you are using.

The value returned by analogRead () will be a whole number (an integer) between 0 & 1023. You need to figure out what values correspond to +0.5g and -0.5g.

Paul