#ifndef FEATURES_H
#define FEATURES_H

#include "config.h"

#ifdef OMRON_MX2_SLAVE_ID
#include "./OmronVFD.h"
#define HAS_OMRON_VFD_MODBUS
#endif

#if defined(OMRON_PID_SLAVE_START)
#include "OmronPID.h"
#endif

#if defined(MB_RELAY_0) || defined(MB_RELAY_1) || defined(MB_RELAY_2) || defined(MB_RELAY_3)
#include "./components/Relay.h"
#endif

#if defined(MB_ANALOG_0) || defined(MB_ANALOG_1) || defined(MB_ANALOG_2)
#include "./components/POT.h"
#endif

#if (defined(MB_ANALOG_3POS_SWITCH_0) && defined(MB_ANALOG_3POS_SWITCH_1) || defined(MB_ANALOG_3POS_SWITCH_3))
#include "./components/3PosAnalog.h"
#endif

#if (defined(MB_STEPPER_DIR_0) && defined(MB_STEPPER_PULSE_0) || defined(MB_STEPPER_DIR_1) && defined(MB_STEPPER_PULSE_1))
#include "./components/StepperController.h"
#endif

#ifdef MOTOR_LOAD_PIN
#include "./components/MotorLoad.h"
#endif

#ifdef HAS_STATUS
    #include "./components/StatusLight.h"
#endif

#endif