Skip to content

Issue in Example 8 #37

@williamesp2015

Description

@williamesp2015

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions