mirror of https://github.com/nealey/puzzle-box.git
13 lines
195 B
C
13 lines
195 B
C
|
#pragma once
|
||
|
|
||
|
class Pulse {
|
||
|
public:
|
||
|
Pulse(unsigned long period);
|
||
|
|
||
|
/** Tick tells you if a period has elapsed. */
|
||
|
bool Tick();
|
||
|
|
||
|
unsigned long period;
|
||
|
unsigned long nextEventMillis;
|
||
|
};
|