Firmware for EaserCAT-6000 brought in

This commit is contained in:
Hakan Bastedt
2024-12-14 19:32:27 +01:00
parent 909685cf0e
commit 5f8c3ba5fc
38 changed files with 11355 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#ifndef EXTEND32TO64
#define EXTEND32TO54
#include <Arduino.h>
class extend32to64
{
public:
int64_t previousTimeValue = 0;
const uint64_t ONE_PERIOD = 4294967296; // almost UINT32_MAX;
const uint64_t HALF_PERIOD = 2147483648; // Half of that
int64_t extendTime(uint32_t in);
};
#endif