accelerometer for position

Hello!

i'm working with an accelerometer does someone have an arduino programm?

Which accelerometer ? (chip model)
try Google

For what? Connecting it to the arduino or making sense of the data coming from it?

Most accelerometer breakout boards come with a link to a library with all of the necessary drivers, functions, and example sketches.

accelerometer for position

Accelerometers measure acceleration, not position.

ADXL345 i need it to have a postion (so I have to integrate the acc to get the speed and after integrate the speed to obtain the position) if someone has worked in this case please help me !!

ADXL345 i need it to have a postion

Unfortunately, you can't. This page explains why not.

Hii..

As you want to fetch accelerometer data initially from your sensor module ADXL345, you can try this ADXL345 Arduino code.

You will get the linear acceleration readings in x, y and z axis. In order to measure position, you will have to specify as to what respect you want to measure it .