#include "PHApp.h"
#include "features.h"
#include "./components/Relay.h"
#include "./components/3PosAnalog.h"
#include "./components/StatusLight.h"
#include <Ethernet.h>
#include <macros.h>
#include "./config.h"
#include "./config_adv.h"
#include "./enums.h"
#include "./debug_utils.h"
#include "ModbusBridge.h"
Go to the source code of this file.
|
#define | ADD_POS3ANALOG(posNum, switchPin1, switchPin2, switchKey, switchRegister) |
|
#define | ADD_POT(potNum, potPin, potKey, potRegister) |
|
#define | ADD_RELAY(relayNum, relayPin, relayKey, relayRegister) |
|
#define | XD 1 |
|
◆ ADD_POS3ANALOG
#define ADD_POS3ANALOG |
( |
|
posNum, |
|
|
|
switchPin1, |
|
|
|
switchPin2, |
|
|
|
switchKey, |
|
|
|
switchRegister |
|
) |
| |
Value: pos3Analog_##posNum =
new Pos3Analog(
this, switchPin1, switchPin2, switchKey, switchRegister); \
components.push_back(pos3Analog_##posNum); \
pos3Analog_##posNum->setGateway(modbusBridge->getMudbus())
Definition at line 40 of file PHApp.cpp.
◆ ADD_POT
#define ADD_POT |
( |
|
potNum, |
|
|
|
potPin, |
|
|
|
potKey, |
|
|
|
potRegister |
|
) |
| |
Value: pot_##potNum =
new POT(
this, potPin, potKey, potRegister); \
components.push_back(pot_##potNum); \
pot_##potNum->setGateway(modbusBridge->getMudbus())
Definition at line 35 of file PHApp.cpp.
◆ ADD_RELAY
#define ADD_RELAY |
( |
|
relayNum, |
|
|
|
relayPin, |
|
|
|
relayKey, |
|
|
|
relayRegister |
|
) |
| |
Value: relay_##relayNum =
new Relay(
this, relayPin, relayKey, relayRegister); \
components.push_back(relay_##relayNum); \
relay_##relayNum->setGateway(modbusBridge->getMudbus())
Definition at line 30 of file PHApp.cpp.
◆ XD