supla-device
Loading...
Searching...
No Matches
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
9namespace Supla {
10namespace Sensor {
11class 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_
Definition binary.h:16
Definition normally_open.h:11