SinricPro Library
Loading...
Searching...
No Matches
Timestamp.h
1#pragma once
2
3#include <Arduino.h>
4
5class Timestamp {
6 public:
7 uint32_t getTimestamp();
8 void setTimestamp(uint32_t);
9
10 protected:
11 void update();
12
13 protected:
14 uint64_t timestamp_ms = 0;
15 uint32_t last_update = 0;
16};