puzzle-box/pulse.h

13 lines
195 B
C
Raw Normal View History

2020-12-06 18:36:12 -07:00
#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;
};