tcMenu
Loading...
Searching...
No Matches
WholeAndFraction Struct Reference

#include <MenuItems.h>

Public Member Functions

 WholeAndFraction (const WholeAndFraction &that)
 WholeAndFraction (uint16_t whole, uint16_t fract, bool negative)

Public Attributes

uint32_t whole: 15
uint32_t fraction: 16
uint32_t negative: 1

Detailed Description

This makes working with the analog values in an AnalogMenuItem easier by splitting the raw value into a whole part and a decimal fraction part based on the menu items divisor.


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