Eine Verständnisfrage zum MCP23017. Was bedeutet das "~" in ~MCP23017() ? Hier der Library-Auszug: MCP23017.h:
1 | class MCP23017 |
2 | {
|
3 | private:
|
4 | uint8_t _deviceAddr; |
5 | public:
|
6 | /**
|
7 | * Instantiates a new instance to interact with a MCP23017 at the specified address.
|
8 | */
|
9 | MCP23017(uint8_t address); |
10 | ~MCP23017(); |
11 | #ifdef _DEBUG
|
12 | void debug(); |
13 | #endif
|
MCP23017.cpp
1 | include "MCP23017.h" |
2 | |
3 | MCP23017::MCP23017(uint8_t address) { |
4 | _deviceAddr = address; |
5 | }
|
6 | |
7 | MCP23017::~MCP23017() {} |
8 | |
9 | void MCP23017::init() |