Skip to content

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

Open
kintel wants to merge 2 commits intofu-hsi:masterfrom
kintel:particles
Open

Add support for particle counts, backwards compatible with PMSx003#27
kintel wants to merge 2 commits intofu-hsi:masterfrom
kintel:particles

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