CANTram Framework 1.0.1
Dieses Framework ermöglicht die Nutzung der CANTram Hardware, einer Mikrocontroller basierten mdoularen Steuerung.
Loading...
Searching...
No Matches
DigitalInput.h
1#ifndef DIGITAL_INPUT_H
2#define DIGITAL_INPUT_H
3
4#include "Interface.h"
5#include "Debug.h"
6
7class DigitalInput : public Interface {
8 public:
9 DigitalInput() =default;
10 enum Pull {
11 NONE,
12 UP,
13 DOWN
14 };
15
16 Interface::Type getType() const override {
17 return DIGITAL_INPUT;
18 }
19
20
21
22
23 private:
24 Pull pull;
25
26};
27
28#endif
Logging and debug macro definitions for CANTramCore.