add missing files, support display blanking

This commit is contained in:
2023-10-12 14:54:29 +02:00
parent 3fc72514a4
commit 9f8b9059f9
9 changed files with 293 additions and 25 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);
};