supla-device
Loading...
Searching...
No Matches
src
supla
sensor
normally_open.h
1
// SPDX-FileCopyrightText: AC SOFTWARE SP. Z O.O.
2
// SPDX-License-Identifier: GPL-2.0-or-later
3
4
#ifndef SRC_SUPLA_SENSOR_NORMALLY_OPEN_H_
5
#define SRC_SUPLA_SENSOR_NORMALLY_OPEN_H_
6
7
#include "binary.h"
8
9
namespace
Supla {
10
namespace
Sensor {
11
class
NormallyOpen
:
public
Binary
{
12
public
:
13
explicit
NormallyOpen
(
int
pin,
bool
pullUp =
false
,
bool
invertLogic =
false
)
14
:
Binary
(pin, pullUp, invertLogic) {
15
}
16
};
17
18
};
// namespace Sensor
19
};
// namespace Supla
20
21
#endif
// SRC_SUPLA_SENSOR_NORMALLY_OPEN_H_
Supla::Sensor::Binary
Definition
binary.h:16
Supla::Sensor::NormallyOpen
Definition
normally_open.h:11
Generated by
1.12.0