Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non blocking #1

Open
nanthony21 opened this issue Jun 4, 2015 · 1 comment
Open

Non blocking #1

nanthony21 opened this issue Jun 4, 2015 · 1 comment

Comments

@nanthony21
Copy link

Is there a way to use this library in a non blocking way? The fact the the sensor takes about 0.1 seconds to do a measurement causes problems if the processor has multiple tasks to perform. This library (http://playground.arduino.cc/Code/Sensirion#Example) has a non blocking method but it is very bulky and doesn't use proper I2C.

@moderndevice
Copy link
Owner

anthony,

There may be but I don't have time for a code effort just now - it will be about two weeks.

Part of the problem is that I2C can by timing sensitive with it's writes.

Maybe try an interrupt to service your other issues?

Paul Badger
Modern Device

On Jun 4, 2015, at 11:46 AM, nanthony21 [email protected] wrote:

Is there a way to use this library in a non blocking way? The fact the the sensor takes about 0.1 seconds to do a measurement causes problems if the processor has multiple tasks to perform. This library (http://playground.arduino.cc/Code/Sensirion#Example) has a non blocking method but it is very bulky and doesn't use proper I2C.


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants