-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFcDisplay.h
More file actions
27 lines (22 loc) · 728 Bytes
/
FcDisplay.h
File metadata and controls
27 lines (22 loc) · 728 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#pragma once
#include "config.h"
const size_t MaxPresetNameLen = 31;
const size_t MaxSceneNameLen = 31;
/**
* Display utility class
* The purpose of this class if to ecapsulate all specific code of various display hardware
* and propose an opaque foot controller display lib instead.
*/
class FcDisplay
{
public:
void init();
void clear() const;
void presetNameToLCD(int presetNum, byte sceneNum) const;
void displayFineTune(int fineTune) const;
void displayControllerValue(const char* label, byte num, byte value) const;
void clearControllerValue(const char* label, byte num) const;
void print(const __FlashStringHelper*) const;
static char* presetNameString();
static char* sceneNameString();
};