Coding Assistance

In my high school class, I decided to go way over my head and try to complete a project that involves coding for an adxl337 accelerometer. I am trying to create a code that lights up an LED when the accelerometer reaches 90 g's in any direction. I need help ASAP. Thanks!

How far have you got ?
Can you read data from the accelerometer ?

I assume that you have seen ADXL337 and ADXL377 Accelerometer Hookup Guide -