LightHub 4.6.0
Open-source smart home controller firmware
Loading...
Searching...
No Matches
microtimer.h
Go to the documentation of this file.
1#pragma once
2#include <Arduino.h>
3class MicroTimer {
4 private:
5 unsigned long timestampLastHitMs;
6 unsigned long sleepTimeMs;
7 public:
8 boolean isOver();
9 void sleep(unsigned long sleepTimeMs);
10};
11
12
13class Timer {
14 private:
15 unsigned long timestampLastHitMs;
16 unsigned long sleepTimeMs;
17 public:
18 boolean isOver();
19 void sleep(unsigned long sleepTimeMs);
20};
Definition microtimer.h:3
boolean isOver()
Definition microtimer.cpp:3
void sleep(unsigned long sleepTimeMs)
Definition microtimer.cpp:10
Definition microtimer.h:13
boolean isOver()
Definition microtimer.cpp:15
void sleep(unsigned long sleepTimeMs)
Definition microtimer.cpp:22