Files
flexi-bot/vendor/plastichub/firmware/features.h
T
2023-09-05 20:38:49 +02:00

98 lines
1.7 KiB
C

#ifndef FEATURES_H
#define FEATURES_H
#ifdef HAS_SERIAL
#include "serial.h"
#endif
#ifdef HAS_TEMPERTURE
#include "temperature.h"
#endif
#ifdef HAS_EXTRUDER_TEMPERATUR
#include "ex_temperature.h"
#endif
#ifdef HAS_STATUS
#include "addons/Status.h"
#endif
#ifdef HAS_AUTOREVERSE
#include "auto-reverse.h"
#ifdef HAS_IR
#include "IRSensor.h"
#endif
#endif
#if defined(ENCLOSURE_SENSOR_PIN_1) || defined(ENCLOSURE_SENSOR_PIN_2)
#include "EnclosureSensor.h"
#define HAS_ENCLOSURE_SENSOR
#endif
#if defined(POWER_0) || defined(POWER_1)
#include "addons/Power.h"
#define HAS_POWER
#endif
#ifdef MOTOR_LOAD_PIN
#include "addons/MotorLoad.h"
#endif
#ifdef MOTOR_HAS_TEMPERTURE
#include "addons/MotorTemperature.h"
#endif
#if defined(OP_MODE_1_PIN)
#include "addons/OperationModeSwitch.h"
#define HAS_OP_MODE_SWITCH
#endif
#if defined(FWD_PIN) && defined(REV_PIN)
#include "addons/DirectionSwitch.h"
#define HAS_DIRECTION_SWITCH
#endif
#if defined(FWD_PIN) && defined(REV_PIN)
#include "VFD.h"
#define HAS_VFD
#endif
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Plastic Hub - Addons
//
// Plastic Hub Studio - remote control
#ifdef USE_FIRMATA
#include "firmata_link.h"
#endif
#ifdef HAS_PLUNGER
#include "Plunger.h"
#endif
#ifdef OMRON_MX2_SLAVE_ID
#include "OmronVFD.h"
#define HAS_MODBUS_BRIDGE
#define HAS_OMRON_VFD_MODBUS
#endif
#if defined(OMRON_PID_SLAVE_START)
#include "OmronPID.h"
#define HAS_MODBUS_BRIDGE
#endif
#ifdef HAS_MODBUS_BRIDGE
#include "ModbusBridge.h"
#endif
#ifdef NB_CONTROLLINO_RELAYS
#include "CRelays.h"
#endif
#include "TemperatureController.h"
#endif