blob: e39b79ea6953514460de8b0b2018077f9bb70f42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
|