SparkFun_MAX3010x_Sensor_Library icon indicating copy to clipboard operation
SparkFun_MAX3010x_Sensor_Library copied to clipboard

Issue in Example 8

Open williamesp2015 opened this issue 2 years ago • 0 comments

I also got better results by using FIFO reading. for (byte i = 75; i < 100; i++) { while (particleSensor.available() == false) //do we have new data? particleSensor.check(); //Check the sensor for new data irBuffer[i] = particleSensor.getFIFOIR(); // greenBuffer[i] = particleSensor.getGreen(); particleSensor.nextSample(); //We're finished with this sample so move to next sample }

williamesp2015 avatar Oct 06 '21 20:10 williamesp2015