-->
Page 1 of 3

APDS-9960 RGB and Gesture Sensor problems

PostPosted: Sat Nov 12, 2016 1:18 pm
by jonn26
Has anyone had any luck getting the GestureTest example in the sparkfun library here to work?

https://github.com/sparkfun/SparkFun_APDS-9960_Sensor_Arduino_Library/tree/master/examples

Affter changing interupt pin in the Wire.begin(); in the .h file to use differnet i2c pins like Wire.begin(D3,D1) I can get all of the other examples (ProximityInterrupt, ProximitySensor, etc.) work just fine but this one seems to be getting stuck in apds.readGesture() and never return.

I pulled out an old arduino 328p and the loaded the GestureTest example and it works great! Just can't get it to work on my wemos d1 mini :(

Anyone already had this issue and solved it?

Re: APDS-9960 RGB and Gesture Sensor problems

PostPosted: Sat Nov 12, 2016 3:02 pm
by reaper7
I have the same problem with gesture example :(

Re: APDS-9960 RGB and Gesture Sensor problems

PostPosted: Sun Nov 20, 2016 10:41 pm
by jonn26
Got it to work with a little trial and error :D

I pushed my changes to Sparkfun's library to make it work with esp8266 below. Hopefully it helps someone!

https://github.com/jonn26/SparkFun_APDS-9960_Sensor_Arduino_Library

Re: APDS-9960 RGB and Gesture Sensor problems

PostPosted: Mon Nov 21, 2016 1:08 am
by reaper7
nice! tnx :)