How To Use The Accelerometer To Control A Object

Hi,

I am new to corona. I am trying to control a ball with the accelerometer (So when the device is lying face up and level, the ball does not move).
I have the Accelerometer1 example but I do not under stand how to use that code to control my ball.
I have Corona Remote to test the accelerometer.

Thanks in advance! [import]uid: 15281 topic_id: 5678 reply_id: 305678[/import]

http://developer.anscamobile.com/forum/2011/01/26/control-object-accelerometer [import]uid: 30185 topic_id: 5678 reply_id: 19448[/import]

Hi PjerTight,

Thanks for you help!
I added your code…I think it works, but I can not get it to work with corona remote.
Do you use corona remote?
Here it is my question: http://developer.anscamobile.com/forum/2011/01/29/corona-remote-problem

Thanks again! [import]uid: 15281 topic_id: 5678 reply_id: 19480[/import]