Yes, that's totally possible. There's no Espruino library for the APDS-9660 sensor though, so you'd have to make one - however it shouldn't be too painful to do and we can try and help you out...
There's a Tessel library for it here, but it drags in some other libraries that could be tricky on Espruino. It'd be a good place to start from though.
One thing to look out for though is power usage - looking at the datasheet you linked, the board draws 0.2mA in its normal working mode... That'd run the CR2032 battery down in a little over a month. However you might be able to put it into a lower power mode, where it checks for interactions less often.
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,
Yes, that's totally possible. There's no Espruino library for the APDS-9660 sensor though, so you'd have to make one - however it shouldn't be too painful to do and we can try and help you out...
There's a Tessel library for it here, but it drags in some other libraries that could be tricky on Espruino. It'd be a good place to start from though.
One thing to look out for though is power usage - looking at the datasheet you linked, the board draws 0.2mA in its normal working mode... That'd run the CR2032 battery down in a little over a month. However you might be able to put it into a lower power mode, where it checks for interactions less often.