diff options
author | 3gg <3gg@shellblade.net> | 2021-12-04 22:22:47 -0800 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2021-12-04 22:22:47 -0800 |
commit | e62be3b12d3c94d709a77d89f52c31f7c4ac475d (patch) | |
tree | bb351f85960443086730f0354f829958b2d03190 /arduino/config.h | |
parent | 48481ba9032689e1bceba05c98bc69972e1a2d3b (diff) |
Initial commit.
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&); | ||