Skip to content

Add timer to loop #327

@je-foster

Description

@je-foster

Add a timer to TankController::loop() to measure how much time has elapsed since the previous loop. If it is more than, say, 50 milliseconds, write an alert to serial reporting the elapsed time. This could help us catch potential problems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions