cgnuino
Public Member Functions | List of all members
CgnValtiel Class Reference

Monitors average length of executed loops on Arduino. More...

#include <cgnuino.h>

Public Member Functions

 CgnValtiel ()
 Constructor.
 
void start ()
 Start monitoring loop length by resetting the counter.
 
float lap ()
 Show average length of past loops and count up the counter. More...
 
uint32_t getMax ()
 Show maximal length of past loop in [ms].
 
uint32_t getMin ()
 Show minimal length of past loop in [ms].
 

Detailed Description

Monitors average length of executed loops on Arduino.

Member Function Documentation

float CgnValtiel::lap ( )

Show average length of past loops and count up the counter.

Note
For a normal usage, this method is intended to be called once, and only once, inside loop function.

The documentation for this class was generated from the following files: