Digital Scale 1.0 Digital Scale

- Main Page
- Modules
- Data Structures
- Files

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Enumerations | Variables
Display Mode

## Enumerations
enum | DISPLAY_MODE_t { DISPLAY_NORMAL, DISPLAY_ALT_SHOW_NORMAL, DISPLAY_ALT_SHOW_ALT }

## Variables
volatile DISPLAY_MODE_t | displayMode
| Selects the Display Mode. More...

## Detailed Description

If set to DISPLAY_NORMAL, it will stay there and only display[] is displayed permanently.
If set to DISPLAY_ALT_SHOW_NORMAL, the timer interrupt will alter it to DISPLAY_ALT_SHOW_ALT and back in regular intervals to display display[] and display_alt[] alternatingly.
Do not set displayMode directly but use the (inline) functions DisplayNormal() and DisplayAlt().

## Enumeration Type Documentation

enum DISPLAY_MODE_t

Enumerator
DISPLAY_NORMAL | display[] is displayed permanently
DISPLAY_ALT_SHOW_NORMAL | display[] and display_alt[] is displayed in a 4 second period
DISPLAY_ALT_SHOW_ALT | display[] and display_alt[] is displayed in a 4 second period

## Variable Documentation

volatile DISPLAY_MODE_t displayMode

Selects the Display Mode.

If set to DISPLAY_NORMAL, only display[] is displayed. If set to DISPLAY_ALT_SHOW_NORMAL, the timer displays display[] and inserts display_alt[] for a shorter time. display_alt[] normally contains some error message. Do not set it directly. Use inline functions DisplayNormal() and DisplayAlt() to switch between the modes.