phyphox BLE
Plot your Arduino's data in the phyphox app and control the board from the phone
Loading...
Searching...
No Matches
phyphox::MapEntry Struct Reference

A value map entry (text shown while min <= value <= max) or a dropdown option (text + value). More...

#include <ElementData.h>

Public Types

enum  : uint8_t { HAS_MIN = 1 , HAS_MAX = 2 }
 

Public Attributes

const char * text = nullptr
 
float a = 0
 
float b = 0
 
uint8_t flags = 0
 

Detailed Description

A value map entry (text shown while min <= value <= max) or a dropdown option (text + value).

Kept to 16 bytes on 32-bit targets: a is the map's min or the option's value, b the map's max; flags says which bounds apply.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : uint8_t
Enumerator
HAS_MIN 
HAS_MAX 

Member Data Documentation

◆ a

float phyphox::MapEntry::a = 0

◆ b

float phyphox::MapEntry::b = 0

◆ flags

uint8_t phyphox::MapEntry::flags = 0

◆ text

const char* phyphox::MapEntry::text = nullptr

The documentation for this struct was generated from the following file: