RGB and Gesture Sensor - APDS-9960
RGB and Gesture Sensor - APDS-9960
Hello!
did someone use this awesome device?
i try to understand how to connect it with micropython
did someone use this awesome device?
i try to understand how to connect it with micropython
Re: RGB and Gesture Sensor - APDS-9960
No, but looking at the datasheet at https://cdn.sparkfun.com/datasheets/Sen ... ds9960.pdf it shouldn't be too hard -- it's a standard I2C device.
Re: RGB and Gesture Sensor - APDS-9960
i found for python https://github.com/rm-hull/apds9960
it can be used for micropython with some refactoring?
it can be used for micropython with some refactoring?
Re: RGB and Gesture Sensor - APDS-9960
Have you actually looked at the code there?
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: RGB and Gesture Sensor - APDS-9960
That should be relatively easy to adapt to machine.i2c calls.
Re: RGB and Gesture Sensor - APDS-9960
i`v done with sensor, but guess we can port C driver to micropython, if its need.
Re: RGB and Gesture Sensor - APDS-9960
I know it's been a while on this thread, but I adapted the code in the above link to MicroPython. It is obvious that code was never used in it's current form. It has a few syntax errors and omissions. However with the few fixes it does work.demoontz wrote: ↑Mon Apr 10, 2017 7:10 pmi found for python https://github.com/rm-hull/apds9960
it can be used for micropython with some refactoring?
End of line...
Re: RGB and Gesture Sensor - APDS-9960
Hey Are you sharing somewhere your driver code? I was just about to start writing my own...