Files
platformio_fensterpiepser_e…/src/Seconds.h
T

26 lines
352 B
C++
Raw Normal View History

/*
* Seconds.h
*
* Created on: 10.09.2020
* Author: flori
*/
#ifndef SECONDS_H_
#define SECONDS_H_
#include "Arduino.h"
class Seconds
{
public:
static uint32_t Get();
private:
static uint32_t lastMillisShifted;
static uint32_t seconds;
static uint32_t secondsOverflow;
static volatile boolean semaphore;
};
#endif /* SECONDS_H_ */