72 Serial.print(
delta());
73 Serial.println(F(
"us"));
108 Serial.print(
delta());
109 Serial.println(F(
"ms"));
virtual unsigned long delta()=0
Derived class must implement delta()
void start() override
Start measurement in milliseconds.
void print() override
Print measurement in microseconds.
unsigned long delta() override
End measurement.
unsigned long timestampStart
Timestamp at the beginning of a measurement.
Timestamp library for Arduino.
Timestamp()
Timestamp constructor.
void start() override
Start measurement in microseconds.
virtual void start()=0
Derived class must implement start()
void print() override
Print measurement in milliseconds.
unsigned long delta() override
End measurement.