From e62be3b12d3c94d709a77d89f52c31f7c4ac475d Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sat, 4 Dec 2021 22:22:47 -0800 Subject: Initial commit. --- arduino/config.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 arduino/config.h (limited to 'arduino/config.h') diff --git a/arduino/config.h b/arduino/config.h new file mode 100755 index 0000000..cb3bf93 --- /dev/null +++ b/arduino/config.h @@ -0,0 +1,12 @@ +#pragma once + +struct Config +{ + unsigned long startDelay; // Start delay in milliseconds + unsigned long rpmCount; // Number of RPM ticks to count + unsigned long signalsPerRPM; // Number of signal ticks per RPM tick +}; + +const Config& readConfig (); + +void writeConfig (const Config&); -- cgit v1.2.3