rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
ui_hero.h
1/*
2 * The description of one hero readout: its name, unit, colour and the label
3 * of its second number. The motor screen draws it as a rail card.
4 *
5 * SPDX-License-Identifier: MIT
6 */
7#pragma once
8
9#include "gfx.h"
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15typedef struct {
16 const char *label;
17 const char *unit;
18 gfx_color_t color;
19 int decimals;
24 const char *extreme_label;
26
27#ifdef __cplusplus
28}
29#endif
gfx: an RGB565 (16-bit red, green, blue) rasteriser with no dependencies.
Definition ui_hero.h:15
const char * extreme_label
Definition ui_hero.h:24