Skip to content

Tilt/Flip/Tilt35 example code request #4

Open
@amitv87

Description

@amitv87

Going through the datasheet and demo I couldn't find any example for Tilt/Flip/Tilt35. Can you provide some insight about this?

My aim is to detect changes in tilt angle and generate interrupt when tilt angle change is beyond certain angle (say 45 degrees).

I understand that registers 0x40 and 0x41 contain threshold values for Tilt/Flip/Tilt35 feature but 2hat do these thresholds actually mean.

From the MC3479 datasheet on page no. 70
For the flat/tilt/flip algorithm, these registers hold the programmed 15-bit threshold value to
detect the flat/tilt/flip position of the device. If the sample value is greater than the programmed
value of these registers, a tilt condition is detected.

What sample value is it referring to?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions