Using the OpenSenseMap provided Arduino packages, I would like to create a routine in the OpenSenseMap provided .INO sketch to only do PM-measurement every 15th measurement.
So, would do a SDS.sleep(); after a measurement, wait 15 "loops" that take place every 60 seconds. And then do SDS.wakeup() again.
have found a "fix", would be good to get that implemented.
Actual Behavior
SDS.sleep() absolutely works, but the SDS.Wakeup() command does not.
This seems a known issue based on how the CPP file is setup.
For this, please see: https://github.com/ricki-z/SDS011/issues/21.
I have altered the .CPP file according to the solution in the post above of ricki-z, and now it all works.
Environment
OS: Windows 10, Arduino 1.8.15, OpenSenseMap Arduino package 1.4.2
Expected Behavior
Using the OpenSenseMap provided Arduino packages, I would like to create a routine in the OpenSenseMap provided .INO sketch to only do PM-measurement every 15th measurement. So, would do a SDS.sleep(); after a measurement, wait 15 "loops" that take place every 60 seconds. And then do SDS.wakeup() again.
have found a "fix", would be good to get that implemented.
Actual Behavior
SDS.sleep() absolutely works, but the SDS.Wakeup() command does not. This seems a known issue based on how the CPP file is setup. For this, please see: https://github.com/ricki-z/SDS011/issues/21.
I have altered the .CPP file according to the solution in the post above of ricki-z, and now it all works.
Environment