adafruit / Adafruit_APDS9960

Arduino drivers for APDS9960 gesture sensor
Other
37 stars 45 forks source link

esp32 #2

Closed jschoch closed 6 years ago

jschoch commented 6 years ago

does this work with the esp32? I have not been able to get the sensor to respond though i can get it to work on an Uno.

ladyada commented 6 years ago

@deanm1278 wanna try it?

jschoch commented 6 years ago

Thanks for taking this on!!! Glad to see it seems to be a bug in the ESP arduino lib and not the adafruit lib!

jschoch commented 6 years ago

any workaround for this?

ladyada commented 6 years ago

nope. you can ask espressif for updates - we're using the standard i2c library and there's no other API really

future-reading people: do not post "me too!"'s, we have no control over the esp32 i2c library :) please post only if you have a fix

thx!

jschoch commented 6 years ago

perhaps using twowire per the suggestion below helps? If you think it does I can take a stab at trying to implement it.

https://github.com/espressif/arduino-esp32/issues/977

deanm1278 commented 6 years ago

Hey checking in on this issue because it's old. Has this been solved yet?