The pin connected to lis2dh12's int pin consumes about 300 uA.
But the pin I used as button,also enabled int function , works good.
The pin I used as wake-up is in input mode,why connected to lis2dh12's int pin sonsumes that much current?
The pin connected to lis2dh12's int pin consumes about 300 uA.
But the pin I used as button,also enabled int function , works good.
The pin I used as wake-up is in input mode,why connected to lis2dh12's int pin sonsumes that much current?
I've find the reson.When using the in-event,it will cost more current.Change to port event works good.
the button lib use port event ,so the button words good.
Thanks any way.Happy Chrismas!!!
I've find the reson.When using the in-event,it will cost more current.Change to port event works good.
the button lib use port event ,so the button words good.
Thanks any way.Happy Chrismas!!!