adis16209 inclinometer

I have to know coordinates on a point . i have an inclinometer adis16209. i want to know if this sensor is compatible with arduino mega, how can i connect them (hardware)? and what code should i use?

Could anybody help me??

The ADIS16209 inclinometer/accelerometer chip is 3.3V only and is directly compatible only with an Arduino running on 3.3V. You will need level shifters to use it with a 5 V Arduino.

The interface is standard SPI. SPI - Arduino Reference

thank you but i need to know hoy i can connect them. i have no idea about the code

The ADIS16209 is not much different than any other SPI accelerometer, so look around for examples.

The datasheet shows the basic wiring, but I imagine that you haven't even looked at it.