Public git repo

A project log for Portable Air Quality Monitor

For those who wonder how safe the air around them is and what can be changed to avoid the negative health effects of polluted air.

ThomasThomas 06/18/2017 at 17:360 Comments

I just realized the git repository was not public, so I have changed the settings to make it publicly accessible.

Settings for gitlab, repository needs to be changed to "Everyone" apparently:

The code is written to work with PMS7003, and the SDS021 support is in there as well, but it won't auto switch. So I change this line with the class definition:

There must be a better way to do it in C++ but haven't figured it out.

One way would be to have a master "particulate" class that searches for available sensors, and then calls the appropriate class depending on what was detected on startup. But it seems a bit redundant, as all functions would be copied to that class.