diff options
Diffstat (limited to 'arduino/config.h')
-rwxr-xr-x | arduino/config.h | 12 |
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 | |||
3 | struct 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 | |||
10 | const Config& readConfig (); | ||
11 | |||
12 | void writeConfig (const Config&); | ||