We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi.
I managed to edit most of the code to make it work but Im stuck with the following error
Compilation error: 'ERR_DATALENGTH' was not declared in this scope
o { ret = sps30.GetValues(&val); if (ret == ERR_DATALENGTH){ if (error_cnt++ > 3) { return(false); //error during reading sps30 values } delay(1000); } else if(ret != ERR_OK) { return(false); //error during reading sps30 values } } while (ret != ERR_OK);
massPM2 = val.MassPM2; massPM10 = val.MassPM10 - val.MassPM2; //PM10 - PM2 to see all particles between 2.5 to 10 micrometer return true; }
Can you please help me as this is part of the code you uploaded?
Cheers
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi.
I managed to edit most of the code to make it work but Im stuck with the following error
Compilation error: 'ERR_DATALENGTH' was not declared in this scope
o {
ret = sps30.GetValues(&val);
if (ret == ERR_DATALENGTH){
if (error_cnt++ > 3) {
return(false); //error during reading sps30 values
}
delay(1000);
}
else if(ret != ERR_OK) {
return(false); //error during reading sps30 values
}
} while (ret != ERR_OK);
massPM2 = val.MassPM2;
massPM10 = val.MassPM10 - val.MassPM2; //PM10 - PM2 to see all particles between 2.5 to 10 micrometer
return true;
}
Can you please help me as this is part of the code you uploaded?
Cheers
The text was updated successfully, but these errors were encountered: