Skip to content

Configured processing interval in "ADC_Dual_Mode " example is not realistic #87

Open
@StefanL38

Description

@StefanL38

The "ADC_Dual_Mode" example is configured to process the buffer every millisecond:

This interval is nonsense because the example must acquire new values and print a significant number of characters in that time:

Serial.println(buf1.timestamp()); // Print buffer timestamp
Serial.println(buf1[0]); // Print sample from first channel
Serial.println(buf1[1]); // Print sample from second channel
Serial.println(buf2.timestamp()); // Print buffer timestamp
Serial.println(buf2[0]); // Print sample from first channel
Serial.println(buf2[1]); // Print sample from second channel

This will take longer than a millisecond. And so the effective update rate will be slower than implied by the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: documentationRelated to documentation for the projecttype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions