aboutsummaryrefslogtreecommitdiff
path: root/arduino/config.h
blob: cb3bf93d8bf6ee4cdaa60f0787acce6f14e34a62 (plain)
1
2
3
4
5
6
7
8
9
10
11
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&);