Closed detamend closed 5 years ago
Hello Paul - great library!!
I may have stumbled upon a error in sps30.h, line 291:
bool probe(); bool reset() {return(Instruct(SER_RESET));} bool start() {return(Instruct(SER_START_MEASUREMENT));} bool stop() {return(Instruct(SER_START_MEASUREMENT));} bool clean() {return(Instruct(SER_START_FAN_CLEANING));}
should
bool stop() {return(Instruct(SER_START_MEASUREMENT));}
not be
bool stop() {return(Instruct(SER_STOP_MEASUREMENT));}
? Seems like a copy-error :)
Good catch.. you are right.. I will make an update Thanks Paul
change applied.
Thanks again
regards, Paul
Hello Paul - great library!!
I may have stumbled upon a error in sps30.h, line 291:
should
bool stop() {return(Instruct(SER_START_MEASUREMENT));}
not be
bool stop() {return(Instruct(SER_STOP_MEASUREMENT));}
? Seems like a copy-error :)