Accelerometer details

I am trying to implement Accelerometer in my game.Basically what I want is the obj should move only on x axis using Accelerometer..but I am unable to do it.I dont know what is happening but it is moving on its own..Can anybody explain me ?

can i see code?

be my friend ?
http://www.facebook.com/hgvyas123

Peach Pellen wrote a great tutorial about this at Techority it helped me a lot: http://techority.com/2010/11/19/control-an-actor-with-the-accelerometer/

hey,I have resolved my problem as of now.Anyways thanks for the help.

views:1570 update:2011/12/3 14:45:35
corona forums © 2003-2011