Moved a bunch of stuff, starting to read registers

This commit is contained in:
TraYali 2024-03-13 00:18:10 +01:00
parent 65b4644fe4
commit 974ae853b9
17 changed files with 47 additions and 55 deletions

19
inc/hoymiles.h Normal file
View 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