lewapek / sds-dust-sensors-arduino-library

Library for Nova Fitness SDS dust sensors family (SDS011, SDS021)
MIT License
64 stars 19 forks source link

Compiling error #12

Closed Mogway28 closed 5 years ago

Mogway28 commented 5 years ago

Trying compile an example queryReportingMode.ino there is a lots of problems: ex. src/SdsDustSensorResults.h:62:12: error: 'Mode' is not a class or namespace case Mode::Active: return "Mode: active"; src/SdsDustSensorResults.h: In constructor 'WorkingStateResult::WorkingStateResult(const Status&, byte*)':

lewapek commented 5 years ago

Hi, it seems like you don't have library compiled. You should install the library first. Have a look at the Arduino IDE tutorial: https://www.arduino.cc/en/guide/libraries