aboutsummaryrefslogtreecommitdiff
path: root/arduino/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'arduino/config.h')
-rwxr-xr-xarduino/config.h12
1 files changed, 12 insertions, 0 deletions
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 @@
1#pragma once
2
3struct Config
4{
5 unsigned long startDelay; // Start delay in milliseconds
6 unsigned long rpmCount; // Number of RPM ticks to count
7 unsigned long signalsPerRPM; // Number of signal ticks per RPM tick
8};
9
10const Config& readConfig ();
11
12void writeConfig (const Config&);