Moved a bunch of stuff, starting to read registers
This commit is contained in:
parent
65b4644fe4
commit
974ae853b9
17 changed files with 47 additions and 55 deletions
19
inc/hoymiles.h
Normal file
19
inc/hoymiles.h
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#ifndef HOYMILES_H
|
||||
#define HOYMILES_H
|
||||
|
||||
struct _modbus;
|
||||
typedef _modbus modbus_t;
|
||||
|
||||
class Dtu{
|
||||
private:
|
||||
modbus_t *modbus_t;
|
||||
|
||||
public:
|
||||
Dtu(const char *ip_address, int port);
|
||||
|
||||
void readTest();
|
||||
|
||||
~Dtu();
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue