-
Notifications
You must be signed in to change notification settings - Fork 159
Open
Description
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
}
Metadata
Metadata
Assignees
Labels
No labels