hoymilesClient/src/main.cpp

16 lines
239 B
C++
Raw Normal View History

2024-03-12 23:26:23 +01:00
#include <iostream>
#include <string>
#include "hoymiles.h"
#include "modbus.h"
2024-03-12 23:26:23 +01:00
int main(){
std::string ip_address {"192.168.31.136"};
int port {502};
Dtu dtu {ip_address.c_str(), port};
dtu.readTest();
2024-03-12 23:26:23 +01:00
return 0;
}