root: add rest of sensors as static project. Modbus: debug additions

This commit is contained in:
Evgenii Meshcheriakov
2022-10-22 10:11:01 +03:00
parent 0be8c9a3f0
commit 06a7d997d6
13 changed files with 770 additions and 1 deletions

25
GMP252Sensor/inc/GMP252.h Normal file
View File

@@ -0,0 +1,25 @@
/*
* GMP252.h
*
* Created on: 20 Oct 2022
* Author: evgenymeshcheryakov
*/
#ifndef GMP252_H_
#define GMP252_H_
#include "ModbusMaster.h"
#include "ModbusRegister.h"
class GMP252 {
public:
GMP252();
int read();
virtual ~GMP252();
private:
ModbusMaster sens;
ModbusRegister regInt;
ModbusRegister regFloat;
};
#endif /* GMP252_H_ */