From d7c2a8029c4aefc295719174a863129645d6ab99 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Sat, 20 Jun 2026 22:23:48 +0200 Subject: initial commit --- system.hpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 system.hpp (limited to 'system.hpp') 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 + +//! 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 -- cgit v1.2.3