Accelerometer Device Orientation Detection in vertical direction RRS feed

  • Question

  • Hi all,

    I'm using application "AccSample" from following path for testing Accelerometer driver


            1.  Before enabling the rotation:  If the device is rotated both in horizontal and vertical direction then x,y & z co-ordinate values   are getting updated.

            2.  After rotation is enabled: If the platform is rotated in horizontal direction(flat) then orientation change is getting detected  and also the screen rotation is happening according to the device orientation. But Orientation change is not getting detected in the vertical direction i.e if the platform is kept vertical and rotated then screen rotation is not happening.

    Please let me know the reason for this issue

    Thank You


    Wednesday, March 13, 2013 11:34 AM

All replies

  • Enable debug prints in the driver and application, compile test and verify the log message.

    Looks like issue with driver/Hardware hence further debugging is required.

    --- Misbah

    Senior Design Engineer T.E.S Electroni Solutions (Bangalore-India)

    Wednesday, March 13, 2013 11:40 AM