// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- /// @file RC_Channel_aux.h /// @brief RC_Channel manager for auxiliary channels (5..8), with EEPROM-backed storage of constants. /// @author Amilcar Lucas #pragma once #include #include "RC_Channel.h" #define RC_AUX_MAX_CHANNELS 12 /// @class RC_Channel_aux /// @brief Object managing one aux. RC channel (CH5-8), with information about its function class RC_Channel_aux : public RC_Channel { public: /// Constructor /// /// @param key EEPROM storage key for the channel trim parameters. /// @param name Optional name for the group. /// RC_Channel_aux(uint8_t ch_out) : RC_Channel(ch_out) { for (uint8_t i=0; i