MCPcopy Create free account
hub / github.com/dalathegreat/Battery-Emulator / MyTimer

Method MyTimer

Software/src/devboard/utils/timer.cpp:3–5  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include "timer.h"
2
3MyTimer::MyTimer(unsigned long interval) : interval(interval) {
4 previous_millis = millis();
5}
6
7bool MyTimer::elapsed(void) {
8 unsigned long current_millis = millis();

Callers

nothing calls this directly

Calls 1

millisFunction · 0.85

Tested by

no test coverage detected