CLUSTER , Thanks for the reply. I have one more question. I ran into a problem. How to link pic16f877a and adxl345. Adxl 345 - is 3 volts. Pic - is 5 volts. How to decide this problem? Thanks in advance ..