summaryrefslogtreecommitdiff
path: root/system.hpp
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2026-06-20 22:23:48 +0200
committerFelix Morgner <felix.morgner@gmail.com>2026-06-20 22:44:43 +0200
commitd7c2a8029c4aefc295719174a863129645d6ab99 (patch)
treed2f36ab8721dd32235dc63a60218378eb35922c8 /system.hpp
downloadthrottle-quadrant-d7c2a8029c4aefc295719174a863129645d6ab99.tar.xz
throttle-quadrant-d7c2a8029c4aefc295719174a863129645d6ab99.zip
initial commitHEADmaster
Diffstat (limited to 'system.hpp')
-rw-r--r--system.hpp18
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