Quick question with the accelerometer.

Holding the device upright and tilting left in right. How do i change the image when tilting left/right? Iv tried a few things but no success.
Thanks DanielA
Thanks DanielA
Comments
read the part about the accelerometer