inital version

This commit is contained in:
2020-05-27 20:38:58 +02:00
commit 7b936642ad
21 changed files with 1850 additions and 0 deletions

21
sensor.h Normal file
View File

@ -0,0 +1,21 @@
#pragma once
#include <stdint.h>
class Sensor
{
public:
uint8_t id;
uint8_t type;
int16_t field;
Sensor(){}
Sensor(const uint8_t idIn, const uint8_t typeIn, const uint16_t fieldIn):
id(idIn), type(typeIn), field(fieldIn)
{}
bool operator==(const Sensor& in)
{
return id == in.id && type == in.type;
}
};