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

Add support for particle counts, backwards compatible with PMSx003 #27

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kintel
Copy link

@kintel kintel commented Mar 13, 2022

This is a rewrite of #7 which should fix #8 in a better way:

  • Checks frame length and only populates the particle fields when large frames are received
  • Adds a boolean indicating if the particles fields were populated
  • Modifies the Advanced example to show how to use this

Tested on PMS5003 in both active and passive mode.

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

Successfully merging this pull request may close these issues.

No particles with diameter
1 participant