ADXL335 measurements in G's

Thank you for your reply :slight_smile:

This is the sample code i got from the library, just reading the analog port and display them...

const int xpin = A3;                  // x-axis of the accelerometer
const int ypin = A2;                  // y-axis
const int zpin = A1;                  // z-axis 

void setup()
{
  Serial.begin(9600);
}

void loop()
{
  // print the sensor values:

  Serial.print(analogRead(xpin));
 
  Serial.print("\t");
  Serial.print(analogRead(ypin));
  
  Serial.print("\t");
  Serial.print(analogRead(zpin));

  Serial.println();
 
  delay(100);
}

I got the clue of how to convert the readings... i will post the reading as soon as i modify the code
Thank you