Support multi backend items

This commit is contained in:
2020-05-05 22:20:00 +02:00
parent 14432ae200
commit bcd835aca6
10 changed files with 276 additions and 121 deletions

14
item.h Normal file
View File

@ -0,0 +1,14 @@
#pragma once
#include <stdint.h>
class Item
{
public:
static constexpr uint16_t MAX_NAME_LENGTH = 16;
bool lastValue = 0;
uint16_t id;
char name[MAX_NAME_LENGTH]="";
uint8_t type = 0;
void setName(const char * const name);
};