ADXL193 Accelerometer Assistance Needed!

Also need the error messages you receive. I did try to compile this, but got errors as well. Where did you get this sketch from? It seems that your copy and paste didn't work to well.

Also, please use code tags instead of quote. It will keep the forum software from tearing your code apart.