CY4631 lift detection | Cypress

CY4631 lift detection

Summary: 0 Replies, Latest post by Chocobombo on 21 Sep 2010 04:11 AM PDT
Verified Answers: 0
Log in to post new comments.
Chocobombo's picture
User
3 posts

Hello,

Does anyone know how to change the configuration of the lift detection in CY21xx chip??

I tried the code:

            volatile BYTE liftHigh;

            liftHigh = NAV_UM_bLiftHeightReadData();
            NAV_UM_LiftHeightSetThreshold(4, 0);        // Lift high threshold, lift high hysteresis
            asm("nop");          //dummy
            asm("nop");          //dummy
            liftHigh = NAV_UM_bLiftHeightReadData();

the return value for liftHigh always 0

There was no difference in the performance of the sensor.

Log in to post new comments.