Comments (3)
@epiller There is a while loop in readGesture(). I think that is the issue. I also find the blocking part annoying, but it is also present in the SparkFun library. What I am considering is trying to rewrite it somehow, but I would like to think that it is not as easy as I suspect, since apparently 2 sets of engineers have written a blocking implementation.
The weird thing to me is that ADC conversion for 2 pairs takes 1.3ms according to the datasheet, and FIFO can hold 32 datasets, so why would it be written blocking? Even with 16Mhz on something like an arduino you should have plenty of time to read it every now and then. If I make something sensible I will leave a message here.
from adafruit_apds9960.
if someone can do a PR where the engine uses the FIFO that would be great!
from adafruit_apds9960.
@Brok0lis Would be pretty awesome if you could pull that off, especially since the same changes could be made on the SparkFun library as well! Keep us posted
from adafruit_apds9960.
Related Issues (20)
- ESP8266 - SparkFun_APDS9960.h:202:1: error: expected declaration before '}' token HOT 2
- I have problems with RGB reader value and with de calculate LUX and Color temperature. HOT 2
- Proximity and gesture at the same time doesn't work HOT 3
- Would you consider adding a lux demo? HOT 1
- Can you please provide an example of how to use Wire's setPins? HOT 2
- Incorrect bit field definitions HOT 3
- The for loops in readGesture analyze the first sample repeatedly instead of all samples HOT 1
- The Arduino code has no option to use alternate pins on the micro contorller HOT 1
- Convert to BusIO HOT 1
- Remove I2C chunkification HOT 1
- Adjustment of the gesture detection
- Gestures, color and proximity at the same time
- Use all sensors
- Circuitpython HOT 1
- The Color Data returned is formatted incorrectly (i think) HOT 2
- Sensor's loop take control of the main arduino loop ? HOT 2
- gconf1::get() is incorrect. HOT 3
- IR Pulse width HOT 3
- Adjust Proximity gain HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adafruit_apds9960.