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

NaN Error with Particle Electron #14

Open
frisbee91 opened this issue Oct 9, 2017 · 0 comments
Open

NaN Error with Particle Electron #14

frisbee91 opened this issue Oct 9, 2017 · 0 comments

Comments

@frisbee91
Copy link

The Particle Electron Web IDE will not compile the spark-dallas-temperature.cpp file as is. It generates an error on the NaN constant.

In order for it to work, I had to add #include <math.h> to the .cpp file. (It was a frustrating ordeal to figure this out.)

Anyway, please add the #include <math.h> to future builds for this file

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

1 participant