acrandal / RevEng_PAJ7620

PAJ7620 gesture sensor Arduino driver and user API
https://acrandal.github.io/RevEng_PAJ7620/
MIT License
24 stars 7 forks source link

Test returning to gesture mode from Cursor mode - currently very brute force #21

Closed acrandal closed 3 years ago

acrandal commented 3 years ago

The setGestureMode interface is very brute force (basically just runs the whole init as a reset).

Can the gesture mode be more gracefully configured? Perhaps that 440 byte array could be broken into a few pieces? It's actually configuring cursor mode in there for reasons that are fuzzy to me.

Basically, inspect & refactor mode changes & settings.

acrandal commented 3 years ago

An initial quick test is a fail on returning to gesture mode from cursor mode...

acrandal commented 3 years ago

Fixed in PR to develop. Working now.