diff options
Diffstat (limited to 'system.hpp')
| -rw-r--r-- | system.hpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/system.hpp b/system.hpp new file mode 100644 index 0000000..e39b79e --- /dev/null +++ b/system.hpp @@ -0,0 +1,18 @@ +#ifndef THROTTLE_QUADRANT_SYSTEM_HPP +#define THROTTLE_QUADRANT_SYSTEM_HPP + +#include <Arduino.h> + +//! All our custom code lives in its own name space to avoid collisions. +namespace tq::system { + +//! The pin to which the "data ready" line of the throttle quadrant is connected. +//! +//! Since the throttle qudrant runs its logic asynchronously to the execution +//! of our code, it exposes a signal to inform us that it has acquired new +//! data. It does so by pulling the "data ready" line low. +auto constexpr data_ready_signal_pin = 2; + +} + +#endif
\ No newline at end of file |
