Hi @Gordon I don't know your application, but why not go with a gesture sensor, ie https://www.sparkfun.com/products/12787. The APDS-9960 is funny piece of chip.
@Spocki started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi @Gordon
I don't know your application, but why not go with a gesture sensor, ie https://www.sparkfun.com/products/12787. The APDS-9960 is funny piece of chip.