blackcj / AdafruitPMS5003

Adafruit PMS5003 dust sensor library for the Particle Photon.
1 stars 1 forks source link

Error Messages #1

Open DavidAMills opened 5 years ago

DavidAMills commented 5 years ago

When importing these files directly to the webIDE, I receive these errors: PMS5003.h:21:18: ISO C++ forbids declaration of 'DustSensor' with no type [-fpermissive] PMS5003.cpp:16:22: definition of implicitly-declared 'PMS5003::PMS5003()'

blackcj commented 5 years ago

I compared the code in GitHub to my project files in the Particle IDE. The only difference I noticed was in the naming convention used. I've updated the files to reflect the changes in the naming. If I remember correctly, this should resolve the error you're seeing. I'll re-test on a device this weekend.